Skip to content

Commit

Permalink
Merge pull request #33161 from vincentdh/master
Browse files Browse the repository at this point in the history
Fix: External storage - exception for the handler whenSelectAuthMechanism
  • Loading branch information
szaimen authored Apr 25, 2023
2 parents 75f17b6 + da83464 commit 9b7c360
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/files_external/js/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -698,15 +698,15 @@ 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);
});
this.on('selectBackend', callback);
},
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']);
});
Expand Down

0 comments on commit 9b7c360

Please sign in to comment.