BUGFIX Use onadd instead of onmatch on cms-add-form when creating new page #673

This commit is contained in:
jean 2013-04-08 11:03:12 +12:00
parent 125edeb12e
commit c18f3fe446

View File

@ -15,16 +15,12 @@
});
$(".cms-add-form").entwine({
onmatch: function() {
onadd: function() {
var self = this;
this.find('#ParentID .TreeDropdownField').bind('change', function() {
self.updateTypeList();
});
this.updateTypeList();
this._super();
},
onunmatch: function() {
this._super();
},
/**