summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-09-14 22:21:42 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-11-21 22:54:21 +0000
commit6a2e7632d17eb2b239aad068ba1dcd1252d6ae0f (patch)
treebacbebe5f294fc013b109e60a86be9faed34a4d4 /apps/files_external/js
parent8f4b780a9055e9ce26a7c147fd4ee70dde8f02dc (diff)
downloadnextcloud-server-6a2e7632d17eb2b239aad068ba1dcd1252d6ae0f.tar.gz
nextcloud-server-6a2e7632d17eb2b239aad068ba1dcd1252d6ae0f.zip
Fix JS unit tests
Diffstat (limited to 'apps/files_external/js')
-rw-r--r--apps/files_external/js/settings.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index d2ff23e89b8..586b9af7a88 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -624,8 +624,6 @@ MountConfigListView.prototype = _.extend({
this._allAuthMechanisms = this.$el.find('#addMountPoint .authentication').data('mechanisms');
this._initEvents();
-
- this.loadStorages();
},
/**
@@ -1194,6 +1192,7 @@ $(document).ready(function() {
var mountConfigListView = new MountConfigListView($('#externalStorage'), {
encryptionEnabled: encryptionEnabled
});
+ mountConfigListView.loadStorages();
$('#sslCertificate').on('click', 'td.remove>img', function() {
var $tr = $(this).closest('tr');