| Paste number 44924: | periodicalUpdater: this.stop does nothing |
| Pasted by: | kingkongrevenge |
| When: | 1 year, 11 months ago |
| Share: | Tweet this! | http://paste.lisp.org/+YNW |
| Channel: | None |
| Paste contents: |
new Ajax.PeriodicalUpdater( { success:'UploadStatus1' },
'/uploadstatus?upid=[% SESSION %]',
Object.extend( { method:'get',
onFailure: function(req) {
this.stop();
document.UploadStatus1 = null;
},
onSuccess: function(req) {
if (req.responseText.match('100%')) {
this.stop();
}
}
},
{ decay: 0, frequency: 2 }
)
);
This paste has no annotations.