From aa83fe15b443812f5a3b3b4609741e23c0ca41f8 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 13 Apr 2009 14:40:19 -0600 Subject: [PATCH] Bug #8159: Don't need javascript - just use internal href --- imp/compose.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imp/compose.php b/imp/compose.php index 8eb967f82..0bb845e61 100644 --- a/imp/compose.php +++ b/imp/compose.php @@ -1108,10 +1108,10 @@ if ($redirect) { } if ($_SESSION['imp']['file_upload']) { $compose_options[] = array( - 'url' => Horde::link('#attachments', '', 'widget', null, - 'Field.focus(\'upload_1\');return false;'), + 'url' => Horde::link('#attachments', '', 'widget'), 'img' => Horde::img('manage_attachments.png'), - 'label' => $show_text ? _("Attachments") : ''); + 'label' => $show_text ? _("Attachments") : '' + ); } $t->set('compose_options', $compose_options); $t->set('help_options', Help::link('imp', 'compose-options')); -- 2.11.0