diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2012-01-23 00:25:34 -0800 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2012-01-23 00:25:34 -0800 |
commit | e3bcd6ab1b0b084b56fd2789fe100fa4614f348c (patch) | |
tree | 12a0dae256c656434b1f93d61d48f3533970a5bf /js/main.js | |
parent | 11aa83742e7926c97b6e1528209a011390fa3115 (diff) | |
parent | 9047840ec2a124f8bf9c9263c42579e78a9f6516 (diff) | |
download | volse-hubzilla-e3bcd6ab1b0b084b56fd2789fe100fa4614f348c.tar.gz volse-hubzilla-e3bcd6ab1b0b084b56fd2789fe100fa4614f348c.tar.bz2 volse-hubzilla-e3bcd6ab1b0b084b56fd2789fe100fa4614f348c.zip |
Merge pull request #28 from fabrixxm/master
fix "See all notifications"
Diffstat (limited to 'js/main.js')
-rwxr-xr-x | js/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/main.js b/js/main.js index a156dbadd..4cb278ee8 100755 --- a/js/main.js +++ b/js/main.js @@ -88,6 +88,7 @@ /* notifications template */ var notifications_tpl= unescape($("#nav-notifications-template[rel=template]").html()); + var notifications_all = unescape($('<div>').append( $("#nav-notifications-see-all").clone() ).html()); //outerHtml hack var notifications_empty = unescape($("#nav-notifications-menu").html()); /* nav update event */ @@ -116,7 +117,7 @@ $("#nav-notifications-linkmenu").addClass("on"); nnm = $("#nav-notifications-menu"); - nnm.html("<li><a href='"+baseurl+"/notifications/network'>Show All Notifications</a></li>"); + nnm.html(notifications_all); //nnm.attr('popup','true'); eNotif.children("note").each(function(){ |