Permalink
Browse files

BUGFIX: add missing selectors and namespace qualifiers

  • Loading branch information...
1 parent bc4bf9d commit ac2567761b713533108e56774acda5e562945dcd @mateusz mateusz committed May 21, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 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();

0 comments on commit ac25677

Please sign in to comment.