|
|
@ -106,7 +106,7 @@ define([
|
|
|
|
var loadmore;
|
|
|
|
var loadmore;
|
|
|
|
var lastKnownHash;
|
|
|
|
var lastKnownHash;
|
|
|
|
$(dismissAll).remove();
|
|
|
|
$(dismissAll).remove();
|
|
|
|
loadmore = h("div.cp-app-notification-loadmore.cp-clickable", Messages.notifications_loadMore || "Load more ...");
|
|
|
|
loadmore = h("div.cp-app-notification-loadmore.cp-clickable", Messages.history_loadMore);
|
|
|
|
$(loadmore).click(function () {
|
|
|
|
$(loadmore).click(function () {
|
|
|
|
common.mailbox.getNotificationsHistory('notifications', 10, lastKnownHash, function (err, messages, end) {
|
|
|
|
common.mailbox.getNotificationsHistory('notifications', 10, lastKnownHash, function (err, messages, end) {
|
|
|
|
if (!Array.isArray(messages)) { return; }
|
|
|
|
if (!Array.isArray(messages)) { return; }
|
|
|
|