aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-10-11 16:25:36 +0200
committerRobin Appelman <robin@icewind.nl>2017-10-12 13:55:25 +0200
commita92596db786ed8591cac16df85adb44680045d7b (patch)
tree1a17ae560274a78d714d62ca47bc7c71ae0ec1f7
parent1a99e0dab4209717f953449dbdcd10aebdd1b568 (diff)
downloadnextcloud-server-a92596db786ed8591cac16df85adb44680045d7b.tar.gz
nextcloud-server-a92596db786ed8591cac16df85adb44680045d7b.zip
Fix confirmation dialog when deleting external storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r--apps/files_external/js/settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index 0003dbf0f75..cb9b7ad6822 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -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 () {