Skip to content

Commit

Permalink
Prototype helpers support the onCreate callback.
Browse files Browse the repository at this point in the history
[#1074 state:committed]
  • Loading branch information
jeremy committed Mar 8, 2009
1 parent 822c41d commit a3e67a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/helpers/prototype_helper.rb
Expand Up @@ -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,
Expand Down

0 comments on commit a3e67a1

Please sign in to comment.