summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-02-01 14:46:02 +0100
committerYorhel <git@yorhel.nl>2010-02-01 14:46:02 +0100
commit1dd46f31b7bc117d4a02515175b925bf1be2de92 (patch)
tree57278a1afa2d723a5996ad0872cf42c50f77dba9 /lib
parenta8f524e9380c415ffadb621fd96da49d5410a56a (diff)
Notifications: Added onclick event to the description column
More intuitive to allow clicking on that as well to open the notification.
Diffstat (limited to 'lib')
-rw-r--r--lib/VNDB/Handler/Users.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Users.pm b/lib/VNDB/Handler/Users.pm
index d31d176b..16111add 100644
--- a/lib/VNDB/Handler/Users.pm
+++ b/lib/VNDB/Handler/Users.pm
@@ -590,7 +590,7 @@ sub notifies {
td class => 'tc4';
a href => "/u$uid/notify/$l->{id}", "$l->{ltype}$l->{iid}".($l->{subid}?".$l->{subid}":'');
end;
- td class => 'tc5';
+ td class => 'tc5', onclick => qq|javascript:location.href="/u$uid/notify/$l->{id}"|;
lit mt '_usern_n_'.(
$l->{ltype} eq 't' ? ($l->{subid} == 1 ? 't_new' : 't_reply')
: die("unknown notification type")),