Permalink
Browse files

API CHANGE Removed unused searchclass javascript class from CMSMain_l…

…eft.js

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92718 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
chillu committed Nov 21, 2009
1 parent 8d5dc11 commit 150cd386b0a97c5e1138b002a9dc50e1831eeb70
Showing with 0 additions and 22 deletions.
  1. +0 −22 javascript/CMSMain_left.js
View
@@ -96,28 +96,6 @@ addpageclass.prototype = {
errorMessage(ss.i18n._t('CMSMAIN.ERRORADDINGPAGE'), response);
}
}
-
-/**
- * Search button click action
- */
-searchclass = Class.create();
-searchclass.applyTo('#search');
-searchclass.prototype = {
- initialize : function() {
- Observable.applyTo($(_HANDLER_FORMS.search));
- },
- onclick : function() {
- if(treeactions.toggleSelection(this)) {
- this.o2 = $(_HANDLER_FORMS[this.id]).observeMethod('Close', this.popupClosed.bind(this));
- }
- return false;
- },
- popupClosed : function() {
- $(_HANDLER_FORMS.search).stopObserving(this.o2);
- batchActionGlobals.unfilterSiteTree();
- }
-}
-
SiteTreeFilter = Class.create();
SiteTreeFilter.applyTo('#siteTreeFilterList');
SiteTreeFilter.prototype = {

0 comments on commit 150cd38

Please sign in to comment.