From ccb1323dc8f158cd40ba71c4dd25e563f7fc00fd Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 30 Oct 2013 05:20:47 -0400
Subject: [PATCH] Move setting _next_uid to selection_post_data()

---
 program/js/app.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index bfae977..750bf1e 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2742,9 +2742,6 @@
       }
     }
 
-    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 @@
     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;
   };
 

--
Gitblit v1.9.1