Add tree refresh when create/delete/rename file

This commit is contained in:
Nicolas H 2022-04-13 19:03:34 +02:00
parent 913cef9caf
commit dd717e331c
1 changed files with 3 additions and 0 deletions

View File

@ -163,6 +163,7 @@ $(function(){
success: function(data){
data = data.split("|");
alertBox(data[1], data[0]);
$("#files").jstree("refresh");
},
error: function(XMLHttpRequest, textStatus, errorThrown) {
alertBox(LANG['AJAXERROR'],'danger');
@ -185,6 +186,7 @@ $(function(){
success: function(data){
data = data.split("|");
alertBox(data[1], data[0]);
$("#files").jstree("refresh");
},
error: function(XMLHttpRequest, textStatus, errorThrown) {
alertBox(LANG['AJAXERROR'],'danger');
@ -213,6 +215,7 @@ $(function(){
success: function(data){
data = data.split("|");
alertBox(data[1], data[0]);
$("#files").jstree("refresh");
},
error: function(XMLHttpRequest, textStatus, errorThrown) {
alertBox(LANG['AJAXERROR'],'danger');