Merge pull request #6816 from nextcloud/external-storage-confirm-delete-fix

Fix confirmation dialog when deleting external storage
This commit is contained in:
Joas Schilling 2017-10-13 11:13:20 +02:00 committed by GitHub
commit 547f5afa5b
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 () {