diff options
author | Juan Pablo Villafáñez <jvillafanez@solidgear.es> | 2016-06-07 18:25:17 +0200 |
---|---|---|
committer | Juan Pablo Villafáñez <jvillafanez@solidgear.es> | 2016-06-07 18:25:17 +0200 |
commit | 110edd3d3ca37d496b54c651ab049cbaab503423 (patch) | |
tree | 5a7e2c14d10cec974487c86e748902cdf82032a2 /apps/files_external/js | |
parent | 8526bbb347a7b1ea18b225b4dda40029534636db (diff) | |
download | nextcloud-server-110edd3d3ca37d496b54c651ab049cbaab503423.tar.gz nextcloud-server-110edd3d3ca37d496b54c651ab049cbaab503423.zip |
Rename variable
Diffstat (limited to 'apps/files_external/js')
-rw-r--r-- | apps/files_external/js/settings.js | 6 | ||||
-rw-r--r-- | apps/files_external/js/statusmanager.js | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index 4d5a08a5de4..2477f513db3 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -300,7 +300,7 @@ StorageConfig.prototype = { backend: this.backend, authMechanism: this.authMechanism, backendOptions: this.backendOptions, - origin: 'settings' + testOnly: true }; if (this.id) { data.id = this.id; @@ -327,7 +327,7 @@ StorageConfig.prototype = { $.ajax({ type: 'GET', url: OC.generateUrl(this._url + '/{id}', {id: this.id}), - data: {'origin': 'settings'}, + data: {'testOnly': true}, success: options.success, error: options.error }); @@ -910,7 +910,7 @@ MountConfigListView.prototype = _.extend({ $.ajax({ type: 'GET', url: OC.generateUrl('apps/files_external/userglobalstorages'), - data: {'origin' : 'settings'}, + data: {'testOnly' : true}, contentType: 'application/json', success: function(result) { var onCompletion = jQuery.Deferred(); diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js index 57acc562deb..91974f2d04d 100644 --- a/apps/files_external/js/statusmanager.js +++ b/apps/files_external/js/statusmanager.js @@ -78,7 +78,7 @@ OCA.External.StatusManager = { defObj = $.ajax({ type: 'GET', url: OC.webroot + '/index.php/apps/files_external/' + ((mountData.type === 'personal') ? 'userstorages' : 'userglobalstorages') + '/' + mountData.id, - data: {'origin' : 'statusmanager'}, + data: {'testOnly' : false}, success: function (response) { if (response && response.status === 0) { self.mountStatus[mountData.mount_point] = response; |