mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Fix: External storage - exception thrown for the handler whenSelectAuthMechanism
Signed-off-by: Vincent Handfield <vincent@accestech.com>
This commit is contained in:
parent
ed2b28b60d
commit
da83464459
1 changed files with 2 additions and 2 deletions
|
|
@ -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']);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue