Author: jleroux
Date: Wed May 29 08:47:43 2013
New Revision: 1487405

URL: http://svn.apache.org/r1487405
Log:
Sometimes, when the server is a bit slow, it's enjoyable to know it. This spin 
waiter will help in those cases

Modified:
    ofbiz/trunk/framework/common/webcommon/includes/ServerHour24HourFormatJs.ftl

Modified: 
ofbiz/trunk/framework/common/webcommon/includes/ServerHour24HourFormatJs.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/includes/ServerHour24HourFormatJs.ftl?rev=1487405&r1=1487404&r2=1487405&view=diff
==============================================================================
--- 
ofbiz/trunk/framework/common/webcommon/includes/ServerHour24HourFormatJs.ftl 
(original)
+++ 
ofbiz/trunk/framework/common/webcommon/includes/ServerHour24HourFormatJs.ftl 
Wed May 29 08:47:43 2013
@@ -23,10 +23,12 @@ jQuery(document).ready(function() {
   var date;
   function clock() {
     if (jQuery("#${clockField}").text() === "${uiLabelMap.CommonServerHour}:") 
{
+      waitSpinnerShow();
       serverTimestamp = 
getServiceResult("getServerTimestampAsLong")['serverTimestamp'];
       serverTimeZone = 
getServiceResult("getServerTimeZone")['serverTimeZone'];;
       initTimeZone();
-      date = new timezoneJS.Date(serverTimestamp, serverTimeZone);      
+      date = new timezoneJS.Date(serverTimestamp, serverTimeZone);
+      waitSpinnerHide();      
     } else {
       date.setSeconds(date.getSeconds() + 1);
     }


Reply via email to