Author: adrianc
Date: Thu May 30 16:44:23 2013
New Revision: 1487923
URL:
http://svn.apache.org/r1487923Log:
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({