PDA

View Full Version : need help for the taskMgr why it refresh too quick



matjumbo
30 Dec 2010, 1:54 AM
var task = {
run: function(){
var isStop = Ext.getDom('stockEndTime').value;
if(isStop != 1) {
var centerPanel = Ext.getCmp("first-panel-center-tabpanel");
try {
var tab = centerPanel.getActiveTab();
if(typeof(tab.getStore().complate) == 'undefined' || tab.getStore().complate == false) {
tab.getStore().reload();
}
}
catch (e) {
}
}
},
interval: 10001
}
i set the time 10001 but when in ie7 it do very much quickly some time,not control with the time!why?

the website is in http://125.69.77.15/realtime/index.php

Condor
30 Dec 2010, 2:06 AM
Which Ext version? IIRC there was a bug in the timer a while back.

matjumbo
30 Dec 2010, 6:02 PM
Ext JS Library 3.2.1

matjumbo
30 Dec 2010, 7:03 PM
Which Ext version? IIRC there was a bug in the timer a while back.
how can i fix it?

Condor
30 Dec 2010, 11:56 PM
No, this bug was a lot older. It was definitely fixed in Ext 3.2.1.

matjumbo
31 Dec 2010, 12:49 AM
but i got it in ie brower ,it works per second No matter how many seconds are set.