Refresh page after clone operation

This commit is contained in:
bergware
2016-08-29 11:43:42 +02:00
parent 3c62e2ebc4
commit 5595bd5a98
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -176,6 +176,6 @@ function cloneUser() {
copied = true;
}
});
if (copied) swal('Clone complete','User access settings are cloned to the selected shares','success');
if (copied) swal({title:'Clone complete',text:'User access settings are cloned to the selected shares',type:'success'},function(){refresh();});
}
</script>
+1 -1
View File
@@ -153,7 +153,7 @@ function cloneShare() {
copied = true;
}
});
if (copied) swal('Clone complete','Share settings are cloned to the selected shares','success');
if (copied) swal({title:'Clone complete',text:'Share settings are cloned to the selected shares',type:'success'},function(){refresh();});
}
<?endif;?>
</script>