From: Michael M Slusarz Date: Fri, 14 Nov 2008 19:45:26 +0000 (-0700) Subject: Don't move browser scrollbar on click. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ff0cf73bcc93fdf26fbbaa213ab3d244f2d5f2e0;p=horde.git Don't move browser scrollbar on click. --- 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 . ''