From: vyshane Date: Tue, 23 Jan 2007 05:42:15 +0000 (+0000) Subject: Fix for MDL-6966. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=38f169e25a12bca12c7ffafa049371deef1e3489;p=moodle.git Fix for MDL-6966. --- diff --git a/mod/data/templates.php b/mod/data/templates.php index aa099a2bcc..e6f09dde17 100755 --- a/mod/data/templates.php +++ b/mod/data/templates.php @@ -78,7 +78,7 @@ $bodytag = 'onload="'; $bodytag .= 'if (typeof('.$editorobj.') != \'undefined\') { currEditor = '.$editorobj.'; } '; - $bodytag .= 'currTextarea = getElementById(\'tempform\').template;'; + $bodytag .= 'currTextarea = document.getElementById(\'tempform\').template;'; $bodytag .= '" '; // Javascript to insert the field tags into the textarea.