Permalink
Browse files

Fixed broken filtering select widget by html_safing value for source.

  • Loading branch information...
1 parent 3ba35c5 commit c8f497fda44530a4178ebad14b8c33d733122ac7 @gunn gunn committed Oct 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/rails_admin/main/_form_filtering_select.html.haml
@@ -33,7 +33,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($("div.createAssociatedRecordDialog").length == 0) {
$(".#{"#{field.dom_id}"} .createAssociatedRecord").remoteForm({ dialogClass: "createAssociatedRecordDialog" });

0 comments on commit c8f497f

Please sign in to comment.