Fix css selector and bug checking personal mounts status

This commit is contained in:
Jesús Macias 2015-11-24 11:55:33 +01:00
parent 674bc8e9cb
commit 70071c8865
2 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -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;