Correctly require CMS lang files

This commit is contained in:
scott1702 2016-02-18 12:05:27 +13:00
parent 3cefb2edad
commit 26613dc39e

View File

@ -76,7 +76,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
Requirements::css(CMS_DIR . '/css/screen.css'); Requirements::css(CMS_DIR . '/css/screen.css');
Requirements::customCSS($this->generatePageIconsCss()); Requirements::customCSS($this->generatePageIconsCss());
Requirements::add_i18n_javascript(CMS_DIR . '/javascript/lang', true, true); Requirements::add_i18n_javascript(CMS_DIR . '/javascript/lang', false, true);
Requirements::javascript(CMS_DIR . '/javascript/dist/bundle-lib.js', [ Requirements::javascript(CMS_DIR . '/javascript/dist/bundle-lib.js', [
'provides' => [ 'provides' => [
CMS_DIR . '/javascript/dist/CMSMain.AddForm.js', CMS_DIR . '/javascript/dist/CMSMain.AddForm.js',