Merge pull request #678 from patbolo/bugfix-673

BUGFIX Use onadd instead of onmatch on cms-add-form when creating new pa...
This commit is contained in:
Ingo Schommer 2013-04-07 16:24:50 -07:00
commit 915582a54c

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();
},
/**