reload load tree root after successfull save

merge-requests/1/head
Julien Veyssier 2016-12-05 13:44:18 +01:00
parent 9750b2d268
commit acbde62cc2
1 changed files with 7 additions and 0 deletions

View File

@ -564,6 +564,13 @@ $(document).ready(function(){
else{ else{
showSaveSuccessAnimation(saveFilePath); showSaveSuccessAnimation(saveFilePath);
} }
// reload load tree root
var tree = $('#loadtree').data('fileTree');
$('#loadtree').empty();
tree.showTree($('#loadtree'), escape(tree.options.root), function () {
});
}); });
}); });