Commit 0e6f3ccc5b84c5ce9a78bf2071441291b498b431

Authored by Luciano Prestes
Committed by Gabriela Navarro
1 parent 8a2de61f

Add suport in javascript of edit display_content_block to subdirectory

Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
plugins/display_content/views/box_organizer/_choose_directly.html.erb
... ... @@ -17,7 +17,7 @@ jQuery_1_8_3(&quot;#display_content&quot;).jstree({
17 17 real_checkboxes : true,
18 18 real_checkboxes_names : function (n) { return [("block[checked_nodes[" + n.attr('node_id') + "]]"), 1]; }
19 19 },
20   - themes : {"theme" : "classic", "icons" : true, "url": "/plugins/display_content/javascripts/jstree/themes/classic/style.css"},
  20 + themes : {"theme" : "classic", "icons" : true, "url": "<%= Noosfero.root %>/plugins/display_content/javascripts/jstree/themes/classic/style.css"},
21 21 json_data : {
22 22 ajax : {
23 23 url : '<%= url_for @block.url_params %>',
... ...