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

Ticket #5798 (closed enhancement: untested)

Opened 2 years ago

Last modified 2 years ago

[PATCH] Add variable name option to periodically_call_remote

Reported by: andrew.grim@planetargon.com Assigned to: sam
Priority: low Milestone: 1.2
Component: ActionPack Version:
Severity: minor Keywords: prototype javascript helpers
Cc:

Description

Right now if you use the periodically_call_remote helper function, a PeriodicalExecuter is created, but there is no way to access it. This is just a simple patch to allow naming of the object, so that you can later access it.

The only thing added is if a :name parameter is passed in through the options, it will show up like

var #{name} = PeriodicalExecuter(...)

Attachments

prototype_variable_name.diff (1.8 kB) - added by andrew.grim@planetargon.com on 08/18/06 07:05:55.
patch diff

Change History

08/18/06 07:05:55 changed by andrew.grim@planetargon.com

  • attachment prototype_variable_name.diff added.

patch diff

09/03/06 20:33:29 changed by madrobby

  • status changed from new to closed.
  • resolution set to untested.
  • component changed from Prototype to ActionPack.