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