Skip to content

Commit

Permalink
Load the growler.
Browse files Browse the repository at this point in the history
Even in basic mode, the iTip forms are submitted via Imples, so that Ajax
notifications are used. The page is not reloaded so basic notifications don't
work.

It's of course horribly inconsistent to use the Growler notifications here, but
it's better than not notifying the user at all. And refactoring the iTip viewer
back to work with page reloads in basic mode is a waste of time.
  • Loading branch information
yunosh committed Aug 19, 2014
1 parent dcef41d commit 8ae74ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions imp/lib/Mime/Viewer/Itip.php
Expand Up @@ -80,6 +80,7 @@ protected function _render()
*/
protected function _renderInline()
{
$GLOBALS['page_output']->growler = true;
$data = $this->_mimepart->getContents();
$mime_id = $this->_mimepart->getMimeId();

Expand Down

0 comments on commit 8ae74ce

Please sign in to comment.