You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2013/05/30 18:44:23 UTC

svn commit: r1487923 - /ofbiz/trunk/framework/images/webapp/images/selectall.js

Author: adrianc
Date: Thu May 30 16:44:23 2013
New Revision: 1487923

URL: http://svn.apache.org/r1487923
Log:
Fixed a bug in ajaxUpdateAreaPeriodic JS function - the interval parameter is seconds, not milliseconds.

Modified:
    ofbiz/trunk/framework/images/webapp/images/selectall.js

Modified: ofbiz/trunk/framework/images/webapp/images/selectall.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/selectall.js?rev=1487923&r1=1487922&r2=1487923&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/selectall.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/selectall.js Thu May 30 16:44:23 2013
@@ -290,8 +290,9 @@ function ajaxUpdateAreas(areaCsvString) 
   * @param interval The update interval, in seconds.
 */
 function ajaxUpdateAreaPeriodic(areaId, target, targetParams, interval) {
+    var intervalMillis = interval * 1000;
     jQuery.fjTimer({
-        interval: interval,
+        interval: intervalMillis,
         repeat: true,
         tick: function(container, timerId){
             jQuery.ajax({