Add docs on :templated_javascript => false for my own sanity's sake
| 30 | 31 | |
|---|---|---|
| 124 | 124 | field_value = template_options[:value] |
| 125 | 125 | end |
| 126 | 126 | |
| 127 | # Only use javascript if not explicitly disabled in options | |
| 127 | # Only use javascript if not explicitly disabled in options with | |
| 128 | # <tt>:templated_javascript => false</tt> | |
| 128 | 129 | if options.delete(:templated_javascript) |
| 129 | 130 | javascript_string = javascript_tag \ |
| 130 | 131 | "Event.observe(window, 'load', function() { new TemplatedAttribute($('#{class_name}_#{method}'), |
