From: Sven Schöling Date: Thu, 20 Sep 2012 17:20:50 +0000 (+0200) Subject: window.onload nicht direkt setzen X-Git-Tag: release-3.0.0beta1~148 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=171a38d37e97d7c21f6e78fdc344fc1bd12b9ab6;p=kivitendo-erp.git window.onload nicht direkt setzen --- diff --git a/templates/webpages/am/edit_accounts.html b/templates/webpages/am/edit_accounts.html index 597aebc00..dcf0be088 100644 --- a/templates/webpages/am/edit_accounts.html +++ b/templates/webpages/am/edit_accounts.html @@ -8,9 +8,9 @@
diff --git a/templates/webpages/menu/menunew.html b/templates/webpages/menu/menunew.html index 89bad2b37..539bf4e55 100644 --- a/templates/webpages/menu/menunew.html +++ b/templates/webpages/menu/menunew.html @@ -2,14 +2,13 @@ [% USE HTML %] diff --git a/templates/webpages/menu/menuv3.html b/templates/webpages/menu/menuv3.html index 2bd0f87e7..9a3410da5 100644 --- a/templates/webpages/menu/menuv3.html +++ b/templates/webpages/menu/menuv3.html @@ -27,14 +27,13 @@ function on_keydown_quicksearch(e) { return false; } -function clockon() { +$(function() { 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); -} -window.onload=clockon +}); //--> diff --git a/templates/webpages/menu/menuv4.html b/templates/webpages/menu/menuv4.html index b54c143fa..d82a8e0d6 100644 --- a/templates/webpages/menu/menuv4.html +++ b/templates/webpages/menu/menuv4.html @@ -7,13 +7,12 @@