Merge branch 'master' of ssh://git.kolabsys.com/git/roundcube
This commit is contained in:
commit
631f19ca5e
2 changed files with 3 additions and 6 deletions
|
@ -92,7 +92,7 @@ class calendar extends rcube_plugin
|
|||
$this->include_stylesheet('skins/' . $skin . '/calendar.css');
|
||||
}
|
||||
|
||||
if ($this->rc->task == 'calendar') {
|
||||
if ($this->rc->task == 'calendar' && $this->rc->action != 'save-pref') {
|
||||
$this->load_driver();
|
||||
|
||||
// load iCalendar functions
|
||||
|
|
|
@ -15,7 +15,7 @@ class rcube_kolab_contacts extends rcube_addressbook
|
|||
public $primary_key = 'ID';
|
||||
public $readonly = true;
|
||||
public $editable = false;
|
||||
public $groups = false;
|
||||
public $groups = true;
|
||||
public $coltypes = array(
|
||||
'name' => array('limit' => 1),
|
||||
'firstname' => array('limit' => 1),
|
||||
|
@ -133,9 +133,6 @@ class rcube_kolab_contacts extends rcube_addressbook
|
|||
if (strpos($acl, 'a') !== false || strpos($acl, 'x') !== false)
|
||||
$this->editable = true;
|
||||
}
|
||||
|
||||
if (!$this->readonly)
|
||||
$this->groups = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue