diff --git a/javascript/CMSMain.AddForm.js b/javascript/CMSMain.AddForm.js index 39f74167..269c5571 100644 --- a/javascript/CMSMain.AddForm.js +++ b/javascript/CMSMain.AddForm.js @@ -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(); }, /**