mirror of
https://github.com/unraid/webgui.git
synced 2026-05-04 08:49:47 -05:00
Code cleanuo.
This commit is contained in:
@@ -1267,6 +1267,7 @@ function checkName(name) {
|
||||
/* Remove hidden '.DS_Store' files from share before deleting the share. */
|
||||
function handleDeleteClick(button) {
|
||||
const deleteLabel = "<?= _('Delete') ?>";
|
||||
|
||||
if (button.value === deleteLabel) {
|
||||
$.post('/webGui/include/ShareList.php', { delete: "<?=$name?>" }, function(response) {
|
||||
if (response === 'success') {
|
||||
|
||||
Reference in New Issue
Block a user