mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Better combination of i18n JS files in CMSMain
This commit is contained in:
parent
6887b88099
commit
6bff69117a
@ -62,17 +62,20 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
|||||||
|
|
||||||
Requirements::combine_files(
|
Requirements::combine_files(
|
||||||
'cmsmain.js',
|
'cmsmain.js',
|
||||||
array(
|
array_merge(
|
||||||
// CMS_DIR . '/javascript/ThumbnailStripField.js',
|
array(
|
||||||
CMS_DIR . '/javascript/CMSMain.js',
|
// CMS_DIR . '/javascript/ThumbnailStripField.js',
|
||||||
CMS_DIR . '/javascript/CMSMain.EditForm.js',
|
CMS_DIR . '/javascript/CMSMain.js',
|
||||||
CMS_DIR . '/javascript/CMSMain.AddForm.js',
|
CMS_DIR . '/javascript/CMSMain.EditForm.js',
|
||||||
CMS_DIR . '/javascript/CMSPageHistoryController.js',
|
CMS_DIR . '/javascript/CMSMain.AddForm.js',
|
||||||
CMS_DIR . '/javascript/SilverStripeNavigator.js'
|
CMS_DIR . '/javascript/CMSPageHistoryController.js',
|
||||||
|
CMS_DIR . '/javascript/CMSPagesController.Tree.js',
|
||||||
|
CMS_DIR . '/javascript/SilverStripeNavigator.js'
|
||||||
|
),
|
||||||
|
Requirements::add_i18n_javascript(CMS_DIR . '/javascript/lang', true, true)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
Requirements::add_i18n_javascript(CMS_DIR . '/javascript/lang');
|
|
||||||
|
|
||||||
CMSBatchActionHandler::register('publish', 'CMSBatchAction_Publish');
|
CMSBatchActionHandler::register('publish', 'CMSBatchAction_Publish');
|
||||||
CMSBatchActionHandler::register('unpublish', 'CMSBatchAction_Unpublish');
|
CMSBatchActionHandler::register('unpublish', 'CMSBatchAction_Unpublish');
|
||||||
CMSBatchActionHandler::register('delete', 'CMSBatchAction_Delete');
|
CMSBatchActionHandler::register('delete', 'CMSBatchAction_Delete');
|
||||||
|
Loading…
Reference in New Issue
Block a user