Permalink
Browse files

Maybe dirty fix to get creditor to work for me.

  • Loading branch information...
1 parent 1cb0628 commit b9f5ff986126be30a31bb4b7b52f208221a7139e @gunn gunn committed Oct 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/rails_admin/main/_form_text.html.haml
@@ -5,7 +5,7 @@
-# needed for modal windows
:javascript
var CKEDITOR_BASEPATH = '/javascripts/ckeditor/';
- - head_javascript "javascripts/ckeditor/ckeditor.js"
+ - head_javascript "/javascripts/ckeditor/ckeditor.js"
- head_javascript do
- if !File.exists?(File.join(Rails.root, 'public/javascripts/ckeditor/ckeditor.js'))
alert("Install CKEditor first");

0 comments on commit b9f5ff9

Please sign in to comment.