Skip to content

Commit 9b7c360

Browse files
authoredApr 25, 2023
Merge pull request #33161 from vincentdh/master
Fix: External storage - exception for the handler whenSelectAuthMechanism
2 parents 75f17b6 + da83464 commit 9b7c360

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎apps/files_external/js/settings.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -698,15 +698,15 @@ MountConfigListView.prototype = _.extend({
698698
* Trigger callback for all existing configurations
699699
*/
700700
whenSelectBackend: function(callback) {
701-
this.$el.find('tbody tr:not(#addMountPoint)').each(function(i, tr) {
701+
this.$el.find('tbody tr:not(#addMountPoint):not(.externalStorageLoading)').each(function(i, tr) {
702702
var backend = $(tr).find('.backend').data('identifier');
703703
callback($(tr), backend);
704704
});
705705
this.on('selectBackend', callback);
706706
},
707707
whenSelectAuthMechanism: function(callback) {
708708
var self = this;
709-
this.$el.find('tbody tr:not(#addMountPoint)').each(function(i, tr) {
709+
this.$el.find('tbody tr:not(#addMountPoint):not(.externalStorageLoading)').each(function(i, tr) {
710710
var authMechanism = $(tr).find('.selectAuthMechanism').val();
711711
callback($(tr), authMechanism, self._allAuthMechanisms[authMechanism]['scheme']);
712712
});

0 commit comments

Comments
 (0)
Please sign in to comment.