Fix confirmation dialog when deleting external storage

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2017-10-11 16:25:36 +02:00
parent 1a99e0dab4
commit a92596db78
No known key found for this signature in database
GPG Key ID: CBCA68FBAEBF98C9
1 changed files with 1 additions and 1 deletions

View File

@ -1134,7 +1134,7 @@ MountConfigListView.prototype = _.extend({
storage: this.mountPoint
}), t('files_external', 'Delete storage?'), function(confirm) {
if (confirm) {
this.updateStatus($tr, StorageConfig.Status.IN_PROGRESS);
self.updateStatus($tr, StorageConfig.Status.IN_PROGRESS);
storage.destroy({
success: function () {