From 0e6f3ccc5b84c5ce9a78bf2071441291b498b431 Mon Sep 17 00:00:00 2001 From: Luciano Date: Tue, 6 Jan 2015 14:50:14 -0200 Subject: [PATCH] Add suport in javascript of edit display_content_block to subdirectory --- plugins/display_content/views/box_organizer/_choose_directly.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/display_content/views/box_organizer/_choose_directly.html.erb b/plugins/display_content/views/box_organizer/_choose_directly.html.erb index bfd74df..1351e5a 100644 --- a/plugins/display_content/views/box_organizer/_choose_directly.html.erb +++ b/plugins/display_content/views/box_organizer/_choose_directly.html.erb @@ -17,7 +17,7 @@ jQuery_1_8_3("#display_content").jstree({ real_checkboxes : true, real_checkboxes_names : function (n) { return [("block[checked_nodes[" + n.attr('node_id') + "]]"), 1]; } }, - themes : {"theme" : "classic", "icons" : true, "url": "/plugins/display_content/javascripts/jstree/themes/classic/style.css"}, + themes : {"theme" : "classic", "icons" : true, "url": "<%= Noosfero.root %>/plugins/display_content/javascripts/jstree/themes/classic/style.css"}, json_data : { ajax : { url : '<%= url_for @block.url_params %>', -- libgit2 0.21.2