Permalink
Browse files

BUGFIX Fixed jQuery assignments in Form_TreeFilterForm javascript

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92652 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent baf23e5 commit 6f2c9193b1f311b2aa8399a554f7eee8e85a8e25 @chillu chillu committed Nov 21, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 javascript/CMSMain.js
View
@@ -291,7 +291,7 @@ var ss_MainLayout;
.appendTo(this.find('fieldset:first'))
.bind('change', function(e) {self._addField(e);})
);
-
+
this._setOptions();
},
@@ -304,7 +304,7 @@ var ss_MainLayout;
// add default option
// TODO i18n
- this('<option value="0">Add Criteria</option>').appendTo(self.SelectEl())
+ jQuery('<option value="0">Add Criteria</option>').appendTo(self.SelectEl())
// populate dropdown values from existing fields
this.find('.field').each(function() {

0 comments on commit 6f2c919

Please sign in to comment.