Fix css selector and bug checking personal mounts status
This commit is contained in:
parent
674bc8e9cb
commit
70071c8865
|
@ -1,8 +1,8 @@
|
||||||
.externalDisabledRow {
|
#filestable tbody tr.externalDisabledRow {
|
||||||
background-color: #CCC ! important;;
|
background-color: #CCC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.externalErroredRow {
|
#filestable tbody tr.externalErroredRow {
|
||||||
background-color: #F2DEDE ! important;;
|
background-color: #F2DEDE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,7 +77,7 @@ OCA.External.StatusManager = {
|
||||||
} else {
|
} else {
|
||||||
defObj = $.ajax({
|
defObj = $.ajax({
|
||||||
type : 'GET',
|
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) {
|
success : function(response) {
|
||||||
if (response && response.status === 0) {
|
if (response && response.status === 0) {
|
||||||
self.mountStatus[mountData.mount_point] = response;
|
self.mountStatus[mountData.mount_point] = response;
|
||||||
|
|
Loading…
Reference in New Issue