Fix confirmation dialog when deleting external storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
1a99e0dab4
commit
a92596db78
|
@ -1134,7 +1134,7 @@ MountConfigListView.prototype = _.extend({
|
||||||
storage: this.mountPoint
|
storage: this.mountPoint
|
||||||
}), t('files_external', 'Delete storage?'), function(confirm) {
|
}), t('files_external', 'Delete storage?'), function(confirm) {
|
||||||
if (confirm) {
|
if (confirm) {
|
||||||
this.updateStatus($tr, StorageConfig.Status.IN_PROGRESS);
|
self.updateStatus($tr, StorageConfig.Status.IN_PROGRESS);
|
||||||
|
|
||||||
storage.destroy({
|
storage.destroy({
|
||||||
success: function () {
|
success: function () {
|
||||||
|
|
Loading…
Reference in New Issue