Merge branch 'master' into menu

This commit is contained in:
Nicolas Stepien 2012-06-30 21:27:19 +02:00
commit 61b2d2e684
2 changed files with 14 additions and 0 deletions

View File

@ -2803,6 +2803,14 @@
QR.abort();
return;
}
if (this.status !== 200 && this.status !== 304) {
Updater.retryCoef += 10 * (Updater.retryCoef < 120);
if (Conf['Verbose']) {
Updater.count.textContent = this.statusText;
Updater.count.className = 'warning';
}
return;
}
Updater.retryCoef = 10;
Updater.timer.textContent = "-" + Conf['Interval'];
/*

View File

@ -2208,6 +2208,12 @@ Updater =
Unread.update true
QR.abort()
return
if @status isnt 200 and @status isnt 304
Updater.retryCoef += 10 * (Updater.retryCoef < 120)
if Conf['Verbose']
Updater.count.textContent = @statusText
Updater.count.className = 'warning'
return
Updater.retryCoef = 10
Updater.timer.textContent = "-#{Conf['Interval']}"