From ac2567761b713533108e56774acda5e562945dcd Mon Sep 17 00:00:00 2001 From: Mateusz Uzdowski Date: Tue, 22 May 2012 11:28:02 +1200 Subject: [PATCH] BUGFIX: add missing selectors and namespace qualifiers --- admin/javascript/LeftAndMain.AddForm.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/admin/javascript/LeftAndMain.AddForm.js b/admin/javascript/LeftAndMain.AddForm.js index 9afa50801..7b4dfe45b 100644 --- a/admin/javascript/LeftAndMain.AddForm.js +++ b/admin/javascript/LeftAndMain.AddForm.js @@ -56,7 +56,10 @@ this._super(); }, - + onunmatch: function() { + this._super(); + } + /** * Function: onsubmit * @@ -123,7 +126,7 @@ origOptions = this.getOrigOptions(), dropdown = this.find('select[name=PageType]'), disallowed = [], - className = (selectedNode) ? selectedNode.getClassname() : null, + className = (selectedNode.length>0) ? selectedNode.entwine('ss.tree').getClassname() : null, siteTreeHints = $.parseJSON($('#sitetree_ul').attr('data-hints')), disableDropDown = true, selectedOption = dropdown.val();