From 669939b53bd22ffa74fa68f8848a4877f524499c Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 18 Nov 2009 11:50:04 -0700 Subject: [PATCH] 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). --- imp/lib/Contents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 . '' -- 2.11.0