Small fix for new folder navigation

This commit is contained in:
Thomas Bruederli 2014-06-26 11:39:36 +02:00
parent 25a6882a15
commit 8b81be7707
3 changed files with 10 additions and 3 deletions

View file

@ -74,6 +74,10 @@
outline: 2px solid rgba(30,150,192, 0.5);
}
#directorylistbox .searchresults .listing li {
background-color: #c7e3ef;
}
#directorylist li.addressbook.readonly,
#directorylist li.addressbook.shared,
#directorylist li.addressbook.other {

View file

@ -130,9 +130,8 @@ function rcube_kolab_notes_ui(settings)
var list = p.data;
if (list && list.id && !list.virtual) {
me.notebooks[list.id] = list;
var prop = { id:p.id, active:list.active?1:0 };
if (list.subscribed) prop.permanent = 1;
rcmail.http_post('list', { _do:'subscribe', _list:prop });
if (list.subscribed)
rcmail.http_post('list', { _do:'subscribe', _list:{ id:p.id, permanent:1 } });
}
});
notebookslist.addEventListener('search-complete', function(data) {

View file

@ -370,6 +370,10 @@
display: none;
}
.notesview #notebooksbox .searchresults .listing li {
background-color: #c7e3ef;
}
.notesview #notebooksbox .searchresults a.listname {
padding-left: 36px;
}