Commit 0dacf2cc authored by Evan Goldenberg's avatar Evan Goldenberg
Browse files

fix wysiwyg editors in block config forms (bug #529929)


Signed-off-by: default avatarEvan Goldenberg <evang@catalyst.net.nz>
parent ed4a25d2
......@@ -167,7 +167,7 @@ tinyMCE.init({
content_css : {$content_css},
//document_base_url: {$jswwwroot},
setup: function(ed) {
if (focusEditor && ed.id == focusEditor) {
if (typeof focusEditor!="undefined" && focusEditor && ed.id == focusEditor) {
ed.onInit.add(function(ed) {
ed.focus();
});
......
Markdown is supported
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