Sha256: 90e12fad28dce7d165885971f69b865f2dfe27fd96a008391cb4c9ff9a3a6c40

Contents?: true

Size: 1.74 KB

Versions: 29

Compression:

Stored size: 1.74 KB

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>form_remote_tag (ActionView::Helpers::PrototypeHelper)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File lib/remote_helpers.rb, line 106</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">form_remote_tag</span>(<span class="ruby-identifier">options</span> = {})
    <span class="ruby-identifier">options</span>.<span class="ruby-identifier">reverse_merge!</span> <span class="ruby-identifier">:disable_form</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>

    <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">options</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">:disable_form</span>)
      <span class="ruby-identifier">add_callback_code!</span> <span class="ruby-identifier">options</span>, {<span class="ruby-identifier">:before</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;var form = this; Form.disable(form)&quot;</span>, <span class="ruby-identifier">:complete</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;Form.enable(form)&quot;</span>}
    <span class="ruby-keyword kw">end</span>
    
    <span class="ruby-identifier">form_remote_tag_old</span>(<span class="ruby-identifier">options</span>)
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
liquid_cms-0.3.2.0 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.2.2.0 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.2.1.1 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.3.1.0 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.2.1.0 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.2.0.13 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.3.0.10 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.3.0.9 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.2.0.12 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.2.0.11 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.2.0.10 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.3.0.8 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.2.0.9 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.3.0.7 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.3.0.6 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.2.0.8 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.3.0.5 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.2.0.7 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.3.0.4 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html
liquid_cms-0.2.0.6 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html