Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Prototype helpers support the onCreate callback.

[#1074 state:committed]
  • Loading branch information...
commit a3e67a15edcdcfd2fd84f078cb3e2c76d0226794 1 parent 822c41d
@jeremy jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/prototype_helper.rb
View
2  actionpack/lib/action_view/helpers/prototype_helper.rb
@@ -107,7 +107,7 @@ module Helpers
# 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,
Please sign in to comment.
Something went wrong with that request. Please try again.