From: Michael M Slusarz Date: Wed, 18 Nov 2009 18:50:04 +0000 (-0700) Subject: Open part view popup with browser menubar. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=669939b53bd22ffa74fa68f8848a4877f524499c;p=horde.git Open part view popup with browser menubar. This popup is not a part of the Horde UI but rather a data display. As such, no reason we should limit user's ability to allow the browser to manipulate the data as needed (i.e. saving, printing). --- diff --git a/imp/lib/Contents.php b/imp/lib/Contents.php index f5d35eae9..4484b631e 100644 --- a/imp/lib/Contents.php +++ b/imp/lib/Contents.php @@ -813,7 +813,7 @@ class IMP_Contents $options['jstext'] = sprintf(_("View %s"), $mime_part->getDescription(true)); } - $url = Horde::popupJs(Horde::applicationUrl('view.php'), array('params' => $this->_urlViewParams($mime_part, $actionID, isset($options['params']) ? $options['params'] : array()), 'urlencode' => true)) . 'return false;'; + $url = Horde::popupJs(Horde::applicationUrl('view.php'), array('menu' => true, 'params' => $this->_urlViewParams($mime_part, $actionID, isset($options['params']) ? $options['params'] : array()), 'urlencode' => true)) . 'return false;'; return empty($options['widget']) ? Horde::link('#', $options['jstext'], empty($options['css']) ? null : $options['css'], null, $url) . $text . ''