Add server-side notifications

This commit is contained in:
John Furrow
2016-10-04 20:22:43 -07:00
parent 9f844a0794
commit 21d2cbbd6d
17 changed files with 648 additions and 28 deletions
+5 -1
View File
@@ -200,7 +200,11 @@ var client = {
tagCount = torrentCollection.getTagCount();
trackerCount = torrentCollection.getTrackerCount();
NotificationCollection.addNotification({id: 'torrent-list-update', message: 'Torrent List Updated'});
NotificationCollection.addNotification({
heading: 'Updated Data',
id: 'torrent-list-update',
message: 'Torrent List Updated'
});
return torrentCollection.getTorrents();
});