aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/js
diff options
context:
space:
mode:
authorVincent Handfield <info@accestech.com>2022-07-07 12:19:03 -0400
committerSimon L <szaimen@e.mail.de>2023-04-17 15:49:25 +0200
commitda83464459d4fc2fd4965b805354933f8e6fbdf6 (patch)
tree7b1028bd244c6745dd1605be0bac39689958b35d /apps/files_external/js
parented2b28b60d9cc5d50f9567789c4984799a43a4da (diff)
downloadnextcloud-server-da83464459d4fc2fd4965b805354933f8e6fbdf6.tar.gz
nextcloud-server-da83464459d4fc2fd4965b805354933f8e6fbdf6.zip
Fix: External storage - exception thrown for the handler whenSelectAuthMechanism
Signed-off-by: Vincent Handfield <vincent@accestech.com>
Diffstat (limited to 'apps/files_external/js')
-rw-r--r--apps/files_external/js/settings.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index d3e9fd44c0d..db77fe4dfc1 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -698,7 +698,7 @@ MountConfigListView.prototype = _.extend({
* Trigger callback for all existing configurations
*/
whenSelectBackend: function(callback) {
- this.$el.find('tbody tr:not(#addMountPoint)').each(function(i, tr) {
+ this.$el.find('tbody tr:not(#addMountPoint):not(.externalStorageLoading)').each(function(i, tr) {
var backend = $(tr).find('.backend').data('identifier');
callback($(tr), backend);
});
@@ -706,7 +706,7 @@ MountConfigListView.prototype = _.extend({
},
whenSelectAuthMechanism: function(callback) {
var self = this;
- this.$el.find('tbody tr:not(#addMountPoint)').each(function(i, tr) {
+ this.$el.find('tbody tr:not(#addMountPoint):not(.externalStorageLoading)').each(function(i, tr) {
var authMechanism = $(tr).find('.selectAuthMechanism').val();
callback($(tr), authMechanism, self._allAuthMechanisms[authMechanism]['scheme']);
});