From: Sven Schöling Date: Fri, 21 Sep 2012 08:55:06 +0000 (+0200) Subject: (merge) window.onload nicht direkt setzen X-Git-Tag: release-3.0.0beta1~145 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d6d92d88c7bbfd0de64eb650d6ed97c9daffe1d7;p=kivitendo-erp.git (merge) window.onload nicht direkt setzen -> Funktonsnamen werden ncoh gebraucht. --- diff --git a/templates/webpages/menu/menunew.html b/templates/webpages/menu/menunew.html index 539bf4e55..f7460923a 100644 --- a/templates/webpages/menu/menunew.html +++ b/templates/webpages/menu/menunew.html @@ -2,13 +2,14 @@ [% USE HTML %] diff --git a/templates/webpages/menu/menuv3.html b/templates/webpages/menu/menuv3.html index 9a3410da5..b3f064a5c 100644 --- a/templates/webpages/menu/menuv3.html +++ b/templates/webpages/menu/menuv3.html @@ -27,13 +27,14 @@ function on_keydown_quicksearch(e) { return false; } -$(function() { +function clockon() { var now = new Date(); var h = now.getHours(); var m = now.getMinutes(); document.getElementById('clock_id').innerHTML = (h<10?'0'+h:h)+":"+(m<10?'0'+m:m); var timer=setTimeout("clockon()", 10000); -}); +} +$(clockon); //--> diff --git a/templates/webpages/menu/menuv4.html b/templates/webpages/menu/menuv4.html index d82a8e0d6..a24b637db 100644 --- a/templates/webpages/menu/menuv4.html +++ b/templates/webpages/menu/menuv4.html @@ -7,12 +7,13 @@