mirror of
https://github.com/unraid/webgui.git
synced 2026-04-28 22:09:24 -05:00
Refresh page after clone operation
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user