doh, fix RT onLoadHook; this fixes "Undefined subroutine &HTML::Mason::Commands:...
authorivan <ivan>
Thu, 9 Jul 2009 02:34:04 +0000 (02:34 +0000)
committerivan <ivan>
Thu, 9 Jul 2009 02:34:04 +0000 (02:34 +0000)
rt/html/Elements/Header

index ffe6536..ab92e32 100644 (file)
@@ -95,10 +95,10 @@ $head .= <<END;
 END
 
 if ( $Focus ) {
-    $head .= onLoadHook("focusElementById('$Focus')");
+    $head .= qq{    onLoadHook("focusElementById('$Focus')");\n};
 }
 if ( $onload ) {
-    $head .= onLoadHook("$onload");
+    $head .= qq{    onLoadHook("$onload");\n};
 }
 
 $head .= '--></script>';