Fix updater refreshing 404'd threads. God damnit Aerosmooth.

This commit is contained in:
Nicolas Stepien 2011-08-27 21:16:31 +02:00
parent e38b22cc88
commit 74bb2954d1
3 changed files with 4 additions and 2 deletions

View File

@ -1747,7 +1747,7 @@
updater.timer.textContent = ''; updater.timer.textContent = '';
updater.count.textContent = 404; updater.count.textContent = 404;
updater.count.className = 'error'; updater.count.className = 'error';
window.clearInterval(updater.intervalID); clearTimeout(updater.timeoutID);
_ref = $$('#com_submit'); _ref = $$('#com_submit');
for (_i = 0, _len = _ref.length; _i < _len; _i++) { for (_i = 0, _len = _ref.length; _i < _len; _i++) {
input = _ref[_i]; input = _ref[_i];

View File

@ -1,4 +1,6 @@
master master
- mayhem
fix updater refreshing 404'd threads
2.18.3 2.18.3
- mayhem - mayhem

View File

@ -1438,7 +1438,7 @@ updater =
updater.timer.textContent = '' updater.timer.textContent = ''
updater.count.textContent = 404 updater.count.textContent = 404
updater.count.className = 'error' updater.count.className = 'error'
window.clearInterval updater.intervalID clearTimeout updater.timeoutID
for input in $$ '#com_submit' for input in $$ '#com_submit'
input.disabled = true input.disabled = true
input.value = 404 input.value = 404