mirror of
https://github.com/friendica/friendica
synced 2025-04-19 05:50:10 +00:00
count unread forum items for forumlist widget (ping.php)
This commit is contained in:
parent
1babf5a6d1
commit
ddf3589fc5
11 changed files with 208 additions and 68 deletions
|
@ -210,6 +210,13 @@
|
|||
$(".group-"+gid+" .notify").addClass("show").text(gcount);
|
||||
});
|
||||
|
||||
$(".forum-widget-entry .notify").removeClass("show");
|
||||
$(data).find("forum").each(function() {
|
||||
var fid = this.id;
|
||||
var fcount = this.innerHTML;
|
||||
$(".forum-"+fid+" .notify").addClass("show").text(fcount);
|
||||
});
|
||||
|
||||
|
||||
var eNotif = $(data).find('notif')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue