Ignore:
Timestamp:
Feb 19, 2010, 9:11:02 PM (14 years ago)
Author:
grum
Message:

Stat consolidations don't work : bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMetaData/admin/amd_database.tpl

    r4905 r4917  
    138138       }).responseText;
    139139
    140       pct=100*(i+1)/(list.length+2);
     140      pct=100*(i+1)/list.length;
    141141      $("#iprogressbar_bg").css("width", pct+"%");
    142142      $("#iprogressbar_fg").html(Math.round(pct)+"%");
    143143    }
    144144
    145     for(j=0;j<3;j++)
    146     {
    147       tmp = $.ajax({
    148         type: "POST",
    149         url: "{/literal}{$datas.urlRequest}{literal}",
    150         async: false,
    151         data: { ajaxfct:"makeStatsConsolidate", step:j }
    152        }).responseText;
    153 
    154       pct=100*(i+j+1)/(list.length+2);
    155       $("#iprogressbar_bg").css("width", pct+"%");
    156       $("#iprogressbar_fg").html(Math.round(pct)+"%");
    157     }
     145    tmp = $.ajax({
     146      type: "POST",
     147      url: "{/literal}{$datas.urlRequest}{literal}",
     148      async: false,
     149      data: { ajaxfct:"makeStatsConsolidation" }
     150     }).responseText;
     151
    158152
    159153    timeEnd = new Date();
Note: See TracChangeset for help on using the changeset viewer.