missing onLoad attibute in body tag, causing all sorts of things to fail

This commit is contained in:
Ralf Becker 2013-04-02 08:13:37 +00:00
parent 885a5fdfc7
commit 6e28933f18

View File

@ -1226,7 +1226,7 @@ window.egw.LAB.script(
{ {
if($what == 'onLoad') if($what == 'onLoad')
{ {
$js .= '"egw.LAB.wait(function() {'. htmlspecialchars($data).'})"'; $js .= 'onLoad="egw.LAB.wait(function() {'. htmlspecialchars($data).'})"';
continue; continue;
} }
$js .= ' '.$what.'="' . htmlspecialchars($data) . '"'; $js .= ' '.$what.'="' . htmlspecialchars($data) . '"';