Permalink
Browse files

MINOR Moved batch actions javascript from CMSMain.BatchAction.js to L…

…eftAndMain.BatchActions.js to make it reuseable in AssetAdmin

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92798 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent b9bfcc9 commit 34f8f9eaf386aabaf575e48676af083eadf92464 @chillu chillu committed Nov 21, 2009
View
@@ -81,6 +81,8 @@ function init() {
// needed for MemberTableField (Requirements not determined before Ajax-Call)
Requirements::css(SAPPHIRE_DIR . "/css/ComplexTableField.css");
+ Requirements::javascript(CMS_DIR . '/javascript/LeftAndMain.BatchActions.js');
+
Requirements::javascript(CMS_DIR . "/javascript/AssetAdmin.DragDrop.js");
Requirements::javascript(CMS_DIR . "/javascript/AssetAdmin.js");
View
@@ -81,7 +81,7 @@ public function init() {
Requirements::javascript(CMS_DIR . '/javascript/CMSMain.js');
Requirements::javascript(CMS_DIR . '/javascript/CMSMain.Tree.js');
Requirements::javascript(CMS_DIR . '/javascript/CMSMain.EditForm.js');
- Requirements::javascript(CMS_DIR . '/javascript/CMSMain.BatchActions.js');
+ Requirements::javascript(CMS_DIR . '/javascript/LeftAndMain.BatchActions.js');
Requirements::javascript(CMS_DIR . '/javascript/CMSMain.Translatable.js');
Requirements::css(CMS_DIR . '/css/CMSMain.css');

0 comments on commit 34f8f9e

Please sign in to comment.