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

Ticket #6100 (closed enhancement: untested)

Opened 2 years ago

Last modified 2 years ago

[PATCH] Added option 'wait' to Ajax.Request and Ajax.Updater

Reported by: grijalva@gmail.com Assigned to: sam
Priority: normal Milestone: 1.x
Component: Prototype Version:
Severity: normal Keywords:
Cc:

Description

This patch add the option 'wait' to Ajax.Request and Ajax.Updater to allow the creation of a request that is to be sent at a later time. This way, you can create a request object and hold onto it until some other event occurs.

This is especially helpful for Updaters where you need one updater to finish before you can run a second.

To use, just supply 'wait: true' as part of the options hash when you create your request object. Then, when you're ready for it to go, just call the start function.

Attachments

ajax.js.diff (1.2 kB) - added by grijalva@gmail.com on 09/07/06 22:48:53.
diff of ajax.js

Change History

09/07/06 22:48:53 changed by grijalva@gmail.com

  • attachment ajax.js.diff added.

diff of ajax.js

09/08/06 02:45:32 changed by anonymous

  • status changed from new to closed.
  • resolution set to untested.