diff --git a/code/CMSMain.php b/code/CMSMain.php index 72486c50..f714b7bd 100755 --- a/code/CMSMain.php +++ b/code/CMSMain.php @@ -103,7 +103,6 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr $langName = i18n::get_locale_name($this->Locale); HtmlEditorConfig::get('cms')->setOption('spellchecker_languages', "+{$langName}={$this->Locale}"); - Requirements::javascript(CMS_DIR . '/javascript/CMSMain.js'); Requirements::javascript(CMS_DIR . '/javascript/CMSMain_left.js'); Requirements::javascript(CMS_DIR . '/javascript/CMSMain_right.js'); } diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index 68dcb1a6..b8180d59 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -264,7 +264,6 @@ class LeftAndMain extends Controller { Requirements::combine_files( 'assets/cmsmain.js', array( - 'cms/javascript/CMSMain.js', 'cms/javascript/CMSMain_left.js', 'cms/javascript/CMSMain_right.js', 'cms/javascript/SideTabs.js', diff --git a/javascript/CMSMain.js b/javascript/CMSMain.js deleted file mode 100755 index e69de29b..00000000