From ccb1323dc8f158cd40ba71c4dd25e563f7fc00fd Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 30 Oct 2013 10:20:47 +0100 Subject: Move setting _next_uid to selection_post_data() --- program/js/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index bfae977b9..750bf1e65 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -2742,9 +2742,6 @@ function rcube_webmail() } } - if (this.env.display_next && this.env.next_uid) - post_data._next_uid = this.env.next_uid; - if (count < 0) post_data._count = (count*-1); // remove threads from the end of the list @@ -2780,6 +2777,9 @@ function rcube_webmail() if (this.env.search_request) data._search = this.env.search_request; + if (this.env.display_next && this.env.next_uid) + post_data._next_uid = this.env.next_uid; + return data; }; -- cgit v1.2.3