diff options
author | Juan Pablo Villafáñez <jvillafanez@solidgear.es> | 2016-06-07 16:53:16 +0200 |
---|---|---|
committer | Juan Pablo Villafáñez <jvillafanez@solidgear.es> | 2016-06-07 16:53:16 +0200 |
commit | 8526bbb347a7b1ea18b225b4dda40029534636db (patch) | |
tree | 7600c448bbde5b8501ed35f23fbc8b50ede29de3 /apps/files_external/js/settings.js | |
parent | f28f6ad2df59b8faa9589bffbc9d2c53b03a2840 (diff) | |
download | nextcloud-server-8526bbb347a7b1ea18b225b4dda40029534636db.tar.gz nextcloud-server-8526bbb347a7b1ea18b225b4dda40029534636db.zip |
Add support to know where the storage test comes from
Diffstat (limited to 'apps/files_external/js/settings.js')
-rw-r--r-- | apps/files_external/js/settings.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index 8d2cb52d67c..4d5a08a5de4 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -299,7 +299,8 @@ StorageConfig.prototype = { mountPoint: this.mountPoint, backend: this.backend, authMechanism: this.authMechanism, - backendOptions: this.backendOptions + backendOptions: this.backendOptions, + origin: 'settings' }; if (this.id) { data.id = this.id; @@ -326,6 +327,7 @@ StorageConfig.prototype = { $.ajax({ type: 'GET', url: OC.generateUrl(this._url + '/{id}', {id: this.id}), + data: {'origin': 'settings'}, success: options.success, error: options.error }); @@ -908,6 +910,7 @@ MountConfigListView.prototype = _.extend({ $.ajax({ type: 'GET', url: OC.generateUrl('apps/files_external/userglobalstorages'), + data: {'origin' : 'settings'}, contentType: 'application/json', success: function(result) { var onCompletion = jQuery.Deferred(); |