Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

Commit

Permalink
fixed all known rails 2.2 bugs since saying that the last time :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Adams committed Dec 16, 2008
1 parent 880f597 commit c918468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/plugins/fckeditor/lib/fckeditor.rb
Expand Up @@ -41,7 +41,7 @@ def fckeditor_textarea_tag(name, value='', options={})
inputs = "<textarea id='#{options[:id]}' #{cols} #{rows} name='#{name}'>#{value}</textarea>\n"
end

js_path = "#{request.relative_url_root}/javascripts"
js_path = "#{ActionController::Base.relative_url_root}/javascripts"
base_path = "#{js_path}/fckeditor/"
return inputs <<
javascript_tag("var oFCKeditor = new FCKeditor('#{options[:id]}', '#{width}', '#{height}', '#{toolbarSet}');\n" <<
Expand Down

0 comments on commit c918468

Please sign in to comment.