summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2014-02-26 04:03:41 +0100
committerkondou <kondou@ts.unde.re>2014-02-26 04:03:41 +0100
commite32acf933d51f1024a7db3239309da7beafc6089 (patch)
tree403d61a91b8c14566c0922c110ee830dc79af46e /settings
parent917a505af4c2182e585513e5188da17ac00b0cf1 (diff)
downloadnextcloud-server-e32acf933d51f1024a7db3239309da7beafc6089.tar.gz
nextcloud-server-e32acf933d51f1024a7db3239309da7beafc6089.zip
Highlight the selected app in app-settings
Diffstat (limited to 'settings')
-rw-r--r--settings/css/settings.css2
-rw-r--r--settings/js/apps.js2
2 files changed, 3 insertions, 1 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css
index 8a96885b789..b8a8941a35d 100644
--- a/settings/css/settings.css
+++ b/settings/css/settings.css
@@ -61,7 +61,7 @@ td.remove { width:1em; padding-right:1em; }
tr:hover>td.password>span, tr:hover>td.displayName>span { margin:0; cursor:pointer; }
tr:hover>td.remove>a, tr:hover>td.password>img,tr:hover>td.displayName>img, tr:hover>td.quota>img { visibility:visible; cursor:pointer; }
tr:hover>td.remove>a { float:right; }
-li.selected { background-color:#ddd; }
+li.selected, #leftcontent li.selected { background-color:#ddd; }
table.grid { width:100%; }
#rightcontent { padding-left: 10px; }
div.quota {
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 2c6f77d9314..7c71453e105 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -249,6 +249,8 @@ $(document).ready(function(){
var app = item.data('app');
OC.Settings.Apps.loadApp(app);
}
+ $('#leftcontent .selected').removeClass('selected');
+ item.addClass('selected');
return false;
});
$('#rightcontent input.enable').click(function(){