summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js/statusmanager.js
diff options
context:
space:
mode:
authorJuan Pablo Villafáñez <jvillafanez@solidgear.es>2016-06-07 16:53:16 +0200
committerJuan Pablo Villafáñez <jvillafanez@solidgear.es>2016-06-07 16:53:16 +0200
commit8526bbb347a7b1ea18b225b4dda40029534636db (patch)
tree7600c448bbde5b8501ed35f23fbc8b50ede29de3 /apps/files_external/js/statusmanager.js
parentf28f6ad2df59b8faa9589bffbc9d2c53b03a2840 (diff)
downloadnextcloud-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/statusmanager.js')
-rw-r--r--apps/files_external/js/statusmanager.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js
index 118ec17d246..57acc562deb 100644
--- a/apps/files_external/js/statusmanager.js
+++ b/apps/files_external/js/statusmanager.js
@@ -78,6 +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'},
success: function (response) {
if (response && response.status === 0) {
self.mountStatus[mountData.mount_point] = response;