summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2023-04-26 00:14:07 +0200
committerGitHub <noreply@github.com>2023-04-26 00:14:07 +0200
commit9b7c360346bc036d16dbc36e9bd399981acb1834 (patch)
tree7dbbe5f7ab9ce0551d2a84276b02b4be51de45e8 /apps/files_external
parent75f17b60945e15effc3eea41393eef2b13937226 (diff)
parentda83464459d4fc2fd4965b805354933f8e6fbdf6 (diff)
downloadnextcloud-server-9b7c360346bc036d16dbc36e9bd399981acb1834.tar.gz
nextcloud-server-9b7c360346bc036d16dbc36e9bd399981acb1834.zip
Merge pull request #33161 from vincentdh/master
Fix: External storage - exception for the handler whenSelectAuthMechanism
Diffstat (limited to 'apps/files_external')
-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']);
});