From 3b0318ca3eea211c7d9bd4b5bd0300ae3e0897ef Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sat, 31 Oct 2015 04:26:33 -0400 Subject: [PATCH] Fix race-condition in setting current page between list and getunread requests --- program/js/app.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 27fe3a4..78df592 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -352,7 +352,7 @@ if (this.gui_objects.mailboxlist) { this.env.unread_counts = {}; this.gui_objects.folderlist = this.gui_objects.mailboxlist; - this.http_request('getunread'); + this.http_request('getunread', {_page: this.env.current_page}); } // init address book widget -- Gitblit v1.9.1