From 38f169e25a12bca12c7ffafa049371deef1e3489 Mon Sep 17 00:00:00 2001 From: vyshane Date: Tue, 23 Jan 2007 05:42:15 +0000 Subject: [PATCH] Fix for MDL-6966. --- mod/data/templates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5