Permalink
Browse files

Prototype helpers support the onCreate callback.

[#1074 state:committed]
  • Loading branch information...
jeremy committed Mar 8, 2009
1 parent 822c41d commit a3e67a15edcdcfd2fd84f078cb3e2c76d0226794
Showing with 1 addition and 1 deletion.
  1. +1 −1 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,

0 comments on commit a3e67a1

Please sign in to comment.