templatise the building of page queries so we can re-use it elsewhere

This commit is contained in:
friendica
2012-12-13 04:06:56 -08:00
parent 6e363ed0c8
commit 4e192b108d
3 changed files with 72 additions and 53 deletions

View File

@@ -447,11 +447,11 @@ function updateConvItems(mode,data) {
if(typeof buildCmd == 'function') {
if(scroll_next) {
network_page = next_page;
bParam_page = next_page;
page_load = true;
}
else {
network_page = 1;
bParam_page = 1;
}
update_url = buildCmd();
}