lib/action_view/helpers/deprecated_helper.rb in actionpack-1.13.3 vs lib/action_view/helpers/deprecated_helper.rb in actionpack-1.13.4

- old
+ new

@@ -1,8 +1,11 @@ module ActionView module Helpers module PrototypeHelper + # Method to execute an element update using Prototype. + # DEPRECATION WARNING: This helper has been depercated; use RJS instead. + # See ActionView::Helpers::PrototypeHelper::JavaScriptGenerator::GeneratorMethods for more information. def update_element_function(element_id, options = {}, &block) content = escape_javascript(options[:content] || '') content = escape_javascript(capture(&block)) if block javascript_function = case (options[:action] || :update) \ No newline at end of file