diff --git a/apps/files_external/css/external.css b/apps/files_external/css/external.css index b0b0634fc5..bf57ec8805 100644 --- a/apps/files_external/css/external.css +++ b/apps/files_external/css/external.css @@ -1,8 +1,8 @@ -.externalDisabledRow { - background-color: #CCC ! important;; +#filestable tbody tr.externalDisabledRow { + background-color: #CCC; } -.externalErroredRow { - background-color: #F2DEDE ! important;; +#filestable tbody tr.externalErroredRow { + background-color: #F2DEDE; } diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js index 5e7cb4e109..4048bfc31b 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;