Refresh skill wheel only after closing administration popup - refs BT#9413

1.10.x
Imanol Losada 10 years ago
parent 1d23e75bdf
commit 27f57183e2
  1. 6
      main/template/default/skill/skill_wheel.js.tpl

@ -369,8 +369,10 @@ function open_popup(skill_id, parent_id) {
close: function() {
$("#name").attr('value','');
$("#description").attr('value', '');
//Redirect to the main root
load_nodes(0, main_depth);
if ("{{ isAdministration }}") {
//Redirect to the main root
load_nodes(0, main_depth);
}
}
});

Loading…
Cancel
Save