diff --git a/javascript/CMSMain.js b/javascript/CMSMain.js index c8145107..66d0f6a4 100644 --- a/javascript/CMSMain.js +++ b/javascript/CMSMain.js @@ -59,7 +59,7 @@ // special case: we can't use CMSSiteTreeFilter together with other options this.find('select[name=FilterClass]').change(function(e) { - var others = self.find('.field').not($(this).parents('.field')).find(':input,:select'); + var others = self.find('.field').not($(this).parents('.field')).find(':input,select'); if(e.target.value == 'CMSSiteTreeFilter_Search') others.removeAttr('disabled'); else others.attr('disabled','disabled'); }) diff --git a/javascript/LeftAndMain.AddForm.js b/javascript/LeftAndMain.AddForm.js index 4046d0d0..b359ba0a 100644 --- a/javascript/LeftAndMain.AddForm.js +++ b/javascript/LeftAndMain.AddForm.js @@ -114,7 +114,7 @@ // Note: Uses siteTreeHints global var tree = this.getTree(), origOptions = this.getOrigOptions(), - dropdown = this.find(':select[name=PageType]'); + dropdown = this.find('select[name=PageType]'); if(!selectedNode) selectedNode = tree.firstSelected(); // Clear all existing