reload load tree root after successfull save
parent
9750b2d268
commit
acbde62cc2
|
@ -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 () {
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue