mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
API CHANGE Removed unused searchclass javascript class from CMSMain_left.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92718 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8d5dc11aab
commit
150cd386b0
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user