Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 4875

Show
Ignore:
Timestamp:
08/30/06 16:00:49 (2 years ago)
Author:
sam
Message:

prototype: Avoid race condition when stopping an Ajax.PeriodicalUpdater. Closes #4809.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • spinoffs/prototype/CHANGELOG

    r4874 r4875  
    11*SVN* 
     2 
     3* Avoid race condition when stopping an Ajax.PeriodicalUpdater. Closes #4809. [e98cuenc@gmail.com] 
    24 
    35* Improve support for synchronous requests. Closes #5916. [sam, jthrom@gmail.com] 
  • spinoffs/prototype/src/ajax.js

    r4874 r4875  
    274274 
    275275  stop: function() { 
    276     this.updater.onComplete = undefined; 
     276    this.updater.options.onComplete = undefined; 
    277277    clearTimeout(this.timer); 
    278278    (this.onComplete || Prototype.emptyFunction).apply(this, arguments);