From ff0cf73bcc93fdf26fbbaa213ab3d244f2d5f2e0 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 14 Nov 2008 12:45:26 -0700 Subject: [PATCH] Don't move browser scrollbar on click. --- 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 cd8568088..a9f9c4213 100644 --- a/imp/lib/Contents.php +++ b/imp/lib/Contents.php @@ -642,7 +642,7 @@ class IMP_Contents $options['jstext'] = sprintf(_("View %s"), $mime_part->getDescription(true)); } - $url = IMP::popupIMPString($this->urlView($mime_part, $actionID, $options)); + $url = IMP::popupIMPString($this->urlView($mime_part, $actionID, $options)) . 'return false;'; return empty($options['widget']) ? Horde::link('#', $options['jstext'], empty($options['css']) ? null : $options['css'], null, $url) . $text . '' -- 2.11.0