mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Prototype helpers support the onCreate callback.
[#1074 state:committed]
This commit is contained in:
parent
822c41d69d
commit
a3e67a15ed
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ module ActionView
|
|||
# on the page in an Ajax response.
|
||||
module PrototypeHelper
|
||||
unless const_defined? :CALLBACKS
|
||||
CALLBACKS = Set.new([ :uninitialized, :loading, :loaded,
|
||||
CALLBACKS = Set.new([ :create, :uninitialized, :loading, :loaded,
|
||||
:interactive, :complete, :failure, :success ] +
|
||||
(100..599).to_a)
|
||||
AJAX_OPTIONS = Set.new([ :before, :after, :condition, :url,
|
||||
|
|
Loading…
Reference in a new issue