]> wagnertech.de Git - kivitendo-erp.git/commitdiff
(merge) window.onload nicht direkt setzen
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 21 Sep 2012 08:55:06 +0000 (10:55 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 17 Oct 2012 14:02:02 +0000 (16:02 +0200)
-> Funktonsnamen werden ncoh gebraucht.

templates/webpages/menu/menunew.html
templates/webpages/menu/menuv3.html
templates/webpages/menu/menuv4.html

index 539bf4e55d6827acc8e934d096041f9ebd260453..f7460923ad6e6be7a155411940e3c040167e6a32 100644 (file)
@@ -2,13 +2,14 @@
 [% USE HTML %]
  <script type="text/javascript">
 <!--
-$(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);
 //-->
  </script>
 
index 9a3410da50e5ba6c971f073892fea160d44beee7..b3f064a5c0d04211d20caa77254d9fbf0f50c05e 100644 (file)
@@ -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);
 //-->
  </script>
 
index d82a8e0d687d8bf56feaf825d154e7c89421480a..a24b637db68980952d703ba53a2fb07fcba0788d 100644 (file)
@@ -7,12 +7,13 @@
 
  <script type="text/javascript">
 <!--
-$(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);
 //-->
  </script>