aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-11-02 15:48:29 -0700
committerzotlabs <mike@macgirvin.com>2016-11-02 15:48:29 -0700
commitf91031bd657f6c7bb25d93fc2c69a84846ee9f03 (patch)
treec069bf265f7b18bf40cdebcf841fe20890cff867 /view
parent5d3e04216d466e57dfeefe0319dd14b26e8487a2 (diff)
downloadvolse-hubzilla-f91031bd657f6c7bb25d93fc2c69a84846ee9f03.tar.gz
volse-hubzilla-f91031bd657f6c7bb25d93fc2c69a84846ee9f03.tar.bz2
volse-hubzilla-f91031bd657f6c7bb25d93fc2c69a84846ee9f03.zip
allow your own likes/comments to be updated when in static update mode
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js12
-rwxr-xr-xview/tpl/build_query.tpl1
2 files changed, 7 insertions, 6 deletions
diff --git a/view/js/main.js b/view/js/main.js
index ec7964886..96adf0be3 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -754,12 +754,12 @@ function liveUpdate() {
update_mode = 'append';
}
else {
- if(bParam_static) {
- in_progress = false;
- if(timer) clearTimeout(timer);
- timer = setTimeout(NavUpdate,10000);
- return;
- }
+// if(bParam_static) {
+// in_progress = false;
+// if(timer) clearTimeout(timer);
+// timer = setTimeout(NavUpdate,10000);
+// return;
+// }
update_mode = 'update';
var orgHeight = $("#region_2").height();
diff --git a/view/tpl/build_query.tpl b/view/tpl/build_query.tpl
index f3e4f79e2..91bb0bfc0 100755
--- a/view/tpl/build_query.tpl
+++ b/view/tpl/build_query.tpl
@@ -37,6 +37,7 @@
if(bParam_cmax != 99) bCmd = bCmd + "&cmax=" + bParam_cmax;
if(bParam_gid != 0) { bCmd = bCmd + "&gid=" + bParam_gid; } else
if(bParam_cid != 0) { bCmd = bCmd + "&cid=" + bParam_cid; }
+ if(bParam_static != 0) { bCmd = bCmd + "&static=" + bParam_static; }
if(bParam_star != 0) bCmd = bCmd + "&star=" + bParam_star;
if(bParam_liked != 0) bCmd = bCmd + "&liked=" + bParam_liked;
if(bParam_conv!= 0) bCmd = bCmd + "&conv=" + bParam_conv;