Commit 4812b285453a2d3801d7da45793010233a33eda6
1 parent
6fb823a9
Exists in
master
and in
29 other branches
Fix JS behaviour to show categories when noosfero is in a subdir environment
Signed-off-by: Fabio Teixeira <fabio1079@gmail.com> Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
public/javascripts/manage-categories.js
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | fetch_sub_items = function(sub_items, category){ |
3 | 3 | loading_for_button($("#category-loading-"+category)[0]); |
4 | 4 | $.ajax({ |
5 | - url: "/admin/categories/get_children", | |
5 | + url: noosfero_root() + "/admin/categories/get_children", | |
6 | 6 | dataType: "html", |
7 | 7 | data: {id: category}, |
8 | 8 | success: function(data, st, ajax){ | ... | ... |