From bd2edf26f6be682fd478ae552bfe84b99e805438 Mon Sep 17 00:00:00 2001 From: Adrian Crum Date: Thu, 30 May 2013 16:44:23 +0000 Subject: [PATCH] Fixed a bug in ajaxUpdateAreaPeriodic JS function - the interval parameter is seconds, not milliseconds. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1487923 13f79535-47bb-0310-9956-ffa450edef68 --- framework/images/webapp/images/selectall.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/images/webapp/images/selectall.js b/framework/images/webapp/images/selectall.js index 9764dcda5d..4c23be6f44 100644 --- a/framework/images/webapp/images/selectall.js +++ b/framework/images/webapp/images/selectall.js @@ -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({