diff options
Diffstat (limited to 'routers')
-rw-r--r-- | routers/web/user/notification.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/web/user/notification.go b/routers/web/user/notification.go index 523e945db9..851af5d647 100644 --- a/routers/web/user/notification.go +++ b/routers/web/user/notification.go @@ -50,6 +50,7 @@ func Notifications(c *context.Context) { return } if c.QueryBool("div-only") { + c.Data["SequenceNumber"] = c.Query("sequence-number") c.HTML(http.StatusOK, tplNotificationDiv) return } @@ -175,6 +176,7 @@ func NotificationStatusPost(c *context.Context) { return } c.Data["Link"] = setting.AppURL + "notifications" + c.Data["SequenceNumber"] = c.Req.PostFormValue("sequence-number") c.HTML(http.StatusOK, tplNotificationDiv) } |