Merge pull request #59 from open-sausages/pulls/4.0/i18n-locale

Remove unnecessary tinymce config
This commit is contained in:
Ingo Schommer 2017-02-16 10:56:51 +13:00 committed by GitHub
commit 015b400fb7

View File

@ -13,7 +13,6 @@ use SilverStripe\Forms\GridField\GridFieldDataColumns;
use SilverStripe\Forms\GridField\GridFieldFooter;
use SilverStripe\Forms\GridField\GridField;
use SilverStripe\Forms\HTMLEditor\HTMLEditorConfig;
use SilverStripe\i18n\i18n;
use SilverStripe\ORM\ArrayList;
use SilverStripe\ORM\SS_List;
use SilverStripe\Security\Member;
@ -65,7 +64,6 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider
// Set custom options for TinyMCE specific to ReportAdmin
HTMLEditorConfig::get('cms')->setOption('content_css', project() . '/css/editor.css');
HTMLEditorConfig::get('cms')->setOption('Lang', i18n::get_tinymce_lang());
Requirements::javascript(REPORTS_DIR . '/javascript/ReportAdmin.js');
}