From 9047840ec2a124f8bf9c9263c42579e78a9f6516 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 23 Jan 2012 09:23:37 +0100 Subject: nav: fix "See all notifications" --- js/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js') 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($('
').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("
  • Show All Notifications
  • "); + nnm.html(notifications_all); //nnm.attr('popup','true'); eNotif.children("note").each(function(){ -- cgit v1.2.3