summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJesús Macias <jmacias@solidgear.es>2015-11-24 11:55:33 +0100
committerJesús Macias <jmacias@solidgear.es>2015-11-24 11:55:33 +0100
commit70071c8865eb18b739e9e681244497da310512d9 (patch)
treea5276f1ad06a27b1097799c1f0da5235bc114cae /apps
parent674bc8e9cb340b2be1b27d4c8e3a539f550acb14 (diff)
downloadnextcloud-server-70071c8865eb18b739e9e681244497da310512d9.tar.gz
nextcloud-server-70071c8865eb18b739e9e681244497da310512d9.zip
Fix css selector and bug checking personal mounts status
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/css/external.css8
-rw-r--r--apps/files_external/js/statusmanager.js2
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/files_external/css/external.css b/apps/files_external/css/external.css
index b0b0634fc58..bf57ec88053 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 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;