Aleksander Machniak
2012-07-31 5cb8f9ff3b5eb44c03128ffecc5167499f795b5c
Fix for new output classes in master (#1488582)
1 files modified
2 ■■■ changed files
plugins/newmail_notifier/newmail_notifier.php 2 ●●● patch | view | raw | blame | history
plugins/newmail_notifier/newmail_notifier.php
@@ -51,7 +51,7 @@
        else { // if ($this->rc->task == 'mail') {
            $this->add_hook('new_messages', array($this, 'notify'));
            // add script when not in ajax and not in frame
            if (is_a($this->rc->output, 'rcube_template') && empty($_REQUEST['_framed'])) {
            if (is_a($this->rc->output, 'rcube_output_html') && empty($_REQUEST['_framed'])) {
                $this->add_texts('localization/');
                $this->rc->output->add_label('newmail_notifier.title', 'newmail_notifier.body');
                $this->include_script('newmail_notifier.js');