diff options
author | ivan <ivan> | 2009-07-09 02:34:04 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-07-09 02:34:04 +0000 |
commit | 0380dc395f5aade2841360f261cdf90344e006e3 (patch) | |
tree | ab4d458a37a9efe2d9773c037e7e134ecbf9f159 /rt/html | |
parent | 70569273833d91085c6c562865a78a08ddde49a1 (diff) |
doh, fix RT onLoadHook; this fixes "Undefined subroutine &HTML::Mason::Commands::onLoadHook" error on ticket creation and otherwise, RT#1169
Diffstat (limited to 'rt/html')
-rw-r--r-- | rt/html/Elements/Header | 4 |
1 files changed, 2 insertions, 2 deletions
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>'; |