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
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user