summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-10-30 10:20:47 +0100
committerAleksander Machniak <alec@alec.pl>2013-10-30 10:20:47 +0100
commitccb1323dc8f158cd40ba71c4dd25e563f7fc00fd (patch)
tree916edac41da37a86c3f9340b3f90b90cd03a7692
parenta6cc96a55def228775780b7e0c49eced0a23dc1a (diff)
Move setting _next_uid to selection_post_data()
-rw-r--r--program/js/app.js6
1 files 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;
};