From 3a63aa9589159ff135fa1eefac661a6a78354e16 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Mon, 19 Sep 2016 10:36:09 +0200 Subject: [PATCH] Fixed error in pandora.js --- pandora_console/include/javascript/pandora.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pandora_console/include/javascript/pandora.js b/pandora_console/include/javascript/pandora.js index c26bc14588..09c31234d2 100644 --- a/pandora_console/include/javascript/pandora.js +++ b/pandora_console/include/javascript/pandora.js @@ -1005,14 +1005,10 @@ function removeTinyMCE(elementID) {console.log(elementID); } function addTinyMCE(elementID) { - if (elementID.length > 0 && !isEmptyObject(tinyMCE)) + if (elementID.length > 0 && !isEmptyObject(tinyMCE)) tinyMCE.EditorManager.execCommand('mceAddControl', true, elementID); } - } - }); -} - function autoclick_profile_users(actual_level, firts_level, second_level) { if ($('#checkbox-' + actual_level).is(":checked")) { if (typeof firts_level !== "undefined") { @@ -1083,4 +1079,4 @@ var autoHideElement = function (element, hideTime) { // Start hide startHideTimeout(hideTime); -} +} \ No newline at end of file