Merge pull request #7401 from owncloud/highlight_selected_app_settings

Highlight the selected app in app-settings
This commit is contained in:
Vincent Petry 2014-02-26 11:07:43 +01:00
commit a1600a289c
2 changed files with 8 additions and 1 deletions

View File

@ -61,7 +61,12 @@ 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 {

View File

@ -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(){