Skip to content

Commit

Permalink
Merge remote branch 'origin/master' into bootstrap
Browse files Browse the repository at this point in the history
Conflicts:
	app/views/layouts/rails_admin/_header.html.haml
	app/views/rails_admin/main/_form_text.html.haml
  • Loading branch information
bbenezech committed Oct 4, 2011
2 parents 5c71fa4 + 1cb0628 commit 5a7212e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -32,7 +32,7 @@
createQuery: function(query) {
return { query: query }
},
source: "#{list_path(config.abstract_model.to_param, :compact => true)}"
source: "#{list_path(config.abstract_model.to_param, :compact => true).html_safe}"
});
if($(".createAssociatedRecordDialog").length == 0) {
$("##{field.dom_id}_field .createAssociatedRecord").remoteForm({ dialogClass: "createAssociatedRecordDialog" });
Expand Down
4 changes: 2 additions & 2 deletions app/views/rails_admin/main/_form_text.html.haml
Expand Up @@ -3,8 +3,8 @@
- if field.ckeditor
-# needed for modal windows
= javascript_tag do
var CKEDITOR_BASEPATH = '/javascripts/ckeditor/';
= javascript_include_tag "/javascripts/ckeditor/ckeditor.js"
var CKEDITOR_BASEPATH = 'javascripts/ckeditor/';
= javascript_include_tag "javascripts/ckeditor/ckeditor.js"
= javascript_tag do
jQuery(function($) {
CKEDITOR.replace('#{field.dom_id}',
Expand Down

0 comments on commit 5a7212e

Please sign in to comment.