From c18f3fe446d9b484a2cc268e42bf7f23ca32f3d7 Mon Sep 17 00:00:00 2001 From: jean Date: Mon, 8 Apr 2013 11:03:12 +1200 Subject: [PATCH] BUGFIX Use onadd instead of onmatch on cms-add-form when creating new page #673 --- javascript/CMSMain.AddForm.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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(); }, /**