Commit 1d72469a authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1467252: Fixing problem with tinymce add image edit form

And the needing of switchbox.js to exist for the page

We will incude it as part of the smarty setup


Change-Id: Ie38f3d5fd89ae779566626be0f69db2ada65f074
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent 261d386d
......@@ -147,7 +147,7 @@ if ($viewtheme && !isset($allowedthemes[$viewtheme])) {
$javascript = array('views', 'tinymce', 'paginator', 'js/jquery/jquery-ui/js/jquery-ui.min.js',
'js/jquery/jquery-ui/js/jquery-ui.touch-punch.min.js', 'tablerenderer', 'artefact/file/js/filebrowser.js',
'lib/pieforms/static/core/pieforms.js','js/jquery/modernizr.custom.js', 'js/switchbox.js');
$blocktype_js = $view->get_all_blocktype_javascript();
$javascript = array_merge($javascript, $blocktype_js['jsfiles']);
if (is_plugin_active('externalvideo', 'blocktype')) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment