Bug #8159: Don't need javascript - just use internal href
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 13 Apr 2009 20:40:19 +0000 (14:40 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 13 Apr 2009 20:45:03 +0000 (14:45 -0600)
imp/compose.php

index 8eb967f..0bb845e 100644 (file)
@@ -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'));