Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed the html_area helper (this time for REAL!!!).

  • Loading branch information...
commit a888c9014610ab89a0738b663837658ab5ff6399 1 parent ea9eb9b
@baldowl authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/auto_admin_simple_theme.rb
View
3  lib/auto_admin_simple_theme.rb
@@ -300,7 +300,8 @@ def html_area(field, options = {})
if AutoAdmin::AutoAdminConfiguration.use_fckeditor_plugin
# We cannot use object_helper because of the fckeditor_textarea's
# implementation details.
- @template.send :fckeditor_textarea, 'object', field, options
+ @template.instance_variable_set "@#{model_name}", @object
+ @template.send :fckeditor_textarea, model_name, field, options
else
object_helper :text_area, field, options
end
Please sign in to comment.
Something went wrong with that request. Please try again.