Changeset 5cb8f9f in github


Ignore:
Timestamp:
Jul 31, 2012 12:07:54 PM (10 months ago)
Author:
Aleksander Machniak <alec@…>
Children:
622bce2
Parents:
b6267dad
Message:

Fix for new output classes in master (#1488582)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/newmail_notifier/newmail_notifier.php

    r48e9c14 r5cb8f9f  
    5252            $this->add_hook('new_messages', array($this, 'notify')); 
    5353            // add script when not in ajax and not in frame 
    54             if (is_a($this->rc->output, 'rcube_template') && empty($_REQUEST['_framed'])) { 
     54            if (is_a($this->rc->output, 'rcube_output_html') && empty($_REQUEST['_framed'])) { 
    5555                $this->add_texts('localization/'); 
    5656                $this->rc->output->add_label('newmail_notifier.title', 'newmail_notifier.body'); 
Note: See TracChangeset for help on using the changeset viewer.