Don't set non-existent css class (000) to some elements
This commit is contained in:
parent
262bd2d760
commit
b9f8f0cf43
1 changed files with 3 additions and 1 deletions
|
@ -248,7 +248,9 @@ class kolab_addressbook extends rcube_plugin
|
|||
}
|
||||
|
||||
// set class name(s)
|
||||
$classes = array($source['group'] ?: '000', 'addressbook');
|
||||
$classes = array('addressbook');
|
||||
if ($source['group'])
|
||||
$classes[] = $source['group'];
|
||||
if ($current === $id)
|
||||
$classes[] = 'selected';
|
||||
if ($source['readonly'])
|
||||
|
|
Loading…
Add table
Reference in a new issue