Bug #5659 - Problem with build-in buttons when creating templates; merged from MOODLE_16_STABLE

This commit is contained in:
skodak
2006-06-06 20:55:25 +00:00
parent 332fbc3027
commit d12cb320b3
+1 -1
View File
@@ -77,7 +77,7 @@
// For the javascript for inserting template tags: initialise the default textarea to
// 'edit_template' - it is always present in all different possible views.
$bodytag = 'onload="';
$bodytag .= 'if (typeof(currEditor) != \'undefined\') { currEditor = edit_template; } ';
$bodytag .= 'if (typeof(edit_template) != \'undefined\') { currEditor = edit_template; } ';
$bodytag .= 'currTextarea = document.tempform.template;';
$bodytag .= '" ';