Fix regression where tags were not available in Add a Note dialog (Bifrost#T209710)
This commit is contained in:
parent
a71b1342ee
commit
ace036d6c8
1 changed files with 2 additions and 7 deletions
|
@ -46,12 +46,7 @@ class kolab_tags_engine
|
||||||
*/
|
*/
|
||||||
public function ui()
|
public function ui()
|
||||||
{
|
{
|
||||||
// set templates of Files UI and widgets
|
if ($this->rc->action && !in_array($this->rc->action, array('show', 'preview', 'dialog-ui'))) {
|
||||||
if ($this->rc->task != 'mail') {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($this->rc->action && !in_array($this->rc->action, array('show', 'preview'))) {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +57,7 @@ class kolab_tags_engine
|
||||||
$this->rc->output->add_label('cancel', 'save');
|
$this->rc->output->add_label('cancel', 'save');
|
||||||
$this->plugin->add_label('tags', 'add', 'edit', 'delete', 'saving',
|
$this->plugin->add_label('tags', 'add', 'edit', 'delete', 'saving',
|
||||||
'nameempty', 'nameexists', 'colorinvalid', 'untag', 'tagname',
|
'nameempty', 'nameexists', 'colorinvalid', 'untag', 'tagname',
|
||||||
'tagcolor', 'tagsearchnew', 'newtag');
|
'tagcolor', 'tagsearchnew', 'newtag', 'notags');
|
||||||
|
|
||||||
$this->rc->output->add_handlers(array(
|
$this->rc->output->add_handlers(array(
|
||||||
'plugin.taglist' => array($this, 'taglist'),
|
'plugin.taglist' => array($this, 'taglist'),
|
||||||
|
|
Loading…
Add table
Reference in a new issue