Index: trac/attachment.py
===================================================================
--- trac/attachment.py	(revision 5681)
+++ trac/attachment.py	(working copy)
@@ -464,7 +464,11 @@
             if 'ATTACHMENT_VIEW' not in req.perm(ctx):
                 continue
             title = tag(tag.em(os.path.basename(filename)), ' attached to ',
-                        tag.em(ctx.parent.name(), title=ctx.parent.summary()))
+                        tag.em(ctx.parent.name(), title=ctx.parent.summary(), 
+                            onclick="parent.location='%s/%s'; return false" % (realm, id),
+                            onmouseover="window.status='view %s %s'; return true" % (realm, id),
+                            onmouseout="window.status=''"
+                            ))
             event = TimelineEvent(self, 'attachment')
             event.set_changeinfo(time, author)
             event.add_markup(title=title)

