From 70071c8865eb18b739e9e681244497da310512d9 Mon Sep 17 00:00:00 2001 From: Jesús Macias Date: Tue, 24 Nov 2015 11:55:33 +0100 Subject: Fix css selector and bug checking personal mounts status --- apps/files_external/js/statusmanager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_external/js/statusmanager.js') diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js index 5e7cb4e109e..4048bfc31bc 100644 --- a/apps/files_external/js/statusmanager.js +++ b/apps/files_external/js/statusmanager.js @@ -77,7 +77,7 @@ OCA.External.StatusManager = { } else { defObj = $.ajax({ type : 'GET', - url: OC.webroot + '/index.php/apps/files_external/globalstorages/' + mountData.id, + url: OC.webroot + '/index.php/apps/files_external/' + ((mountData.type === 'personal') ? 'userstorages' : 'globalstorages') + '/' + mountData.id, success : function(response) { if (response && response.status === 0) { self.mountStatus[mountData.mount_point] = response; -- cgit v1.2.3