Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 150cd386b0a97c5e1138b002a9dc50e1831eeb70 1 parent 8d5dc11
@chillu chillu authored
Showing with 0 additions and 22 deletions.
  1. +0 −22 javascript/CMSMain_left.js
View
22 javascript/CMSMain_left.js
@@ -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 = {
Please sign in to comment.
Something went wrong with that request. Please try again.