ability to delete file/folder
This commit is contained in:
parent
fdc993f7b3
commit
d530a898d6
|
@ -380,8 +380,13 @@ app.controller('websiteCtrl', [
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
confirmMessage = "Delete all items in this folder?";
|
confirmMessage = "Delete all items in this folder?";
|
||||||
|
if (vm.autoPopulateWebPath === undefined) {
|
||||||
|
opts.path = path;
|
||||||
|
} else {
|
||||||
opts.path = vm.autoPopulateWebPath + path;
|
opts.path = vm.autoPopulateWebPath + path;
|
||||||
}
|
}
|
||||||
|
opts.confirm = true;
|
||||||
|
}
|
||||||
if (!window.confirm(confirmMessage)) {
|
if (!window.confirm(confirmMessage)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue