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

Ticket #6527: prototype_helper_fix.diff

File prototype_helper_fix.diff, 0.8 kB (added by emezeske, 2 years ago)

Patch

  • actionpack/lib/action_view/helpers/prototype_helper.rb

    old new  
    2626    module PrototypeHelper 
    2727      unless const_defined? :CALLBACKS 
    2828        CALLBACKS    = Set.new([ :uninitialized, :loading, :loaded, 
    29                          :interactive, :complete, :failure, :success ] + 
     29                         :interactive, :complete, :failure, :exception, :success ] + 
    3030                         (100..599).to_a) 
    3131        AJAX_OPTIONS = Set.new([ :before, :after, :condition, :url, 
    3232                         :asynchronous, :method, :insertion, :position,