From 0380dc395f5aade2841360f261cdf90344e006e3 Mon Sep 17 00:00:00 2001 From: ivan <ivan> Date: Thu, 9 Jul 2009 02:34:04 +0000 Subject: doh, fix RT onLoadHook; this fixes "Undefined subroutine &HTML::Mason::Commands::onLoadHook" error on ticket creation and otherwise, RT#1169 --- rt/html/Elements/Header | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rt/html') diff --git a/rt/html/Elements/Header b/rt/html/Elements/Header index ffe653666..ab92e3287 100644 --- a/rt/html/Elements/Header +++ b/rt/html/Elements/Header @@ -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>'; -- cgit v1.2.1