aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-01-04 11:31:48 +0100
committerMario <mario@mariovavti.com>2018-01-04 11:34:12 +0100
commit5a2b17a1da78dc413b0fe195ed5c34ec23f27d1c (patch)
tree1a87079024d126cb6e65a07dcba1923d5bdcda66 /view
parentae3067200bc30a88761cbf72fe44994bfe0425b9 (diff)
downloadvolse-hubzilla-5a2b17a1da78dc413b0fe195ed5c34ec23f27d1c.tar.gz
volse-hubzilla-5a2b17a1da78dc413b0fe195ed5c34ec23f27d1c.tar.bz2
volse-hubzilla-5a2b17a1da78dc413b0fe195ed5c34ec23f27d1c.zip
fix nav update regressions - fixes issue #950
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/admin_site.tpl2
-rwxr-xr-xview/tpl/jot-header.tpl10
2 files changed, 6 insertions, 6 deletions
diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl
index 399ee42cf..a2a9f3f27 100755
--- a/view/tpl/admin_site.tpl
+++ b/view/tpl/admin_site.tpl
@@ -23,7 +23,7 @@
$.post(url, data, function(data) {
if(timer) clearTimeout(timer);
- NavUpdate();
+ updateInit();
$.colorbox.close();
})
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index 2f9dd9f15..ffaa4e208 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -340,7 +340,7 @@ var activeCommentText = '';
$.get('{{$baseurl}}/tagger/' + id + '?term=' + reply);
if(timer) clearTimeout(timer);
- timer = setTimeout(NavUpdate,3000);
+ timer = setTimeout(updateInit,3000);
liking = 1;
}
}
@@ -359,7 +359,7 @@ var activeCommentText = '';
if(reply && reply.length) {
commentBusy = true;
$('body').css('cursor', 'wait');
- $.get('{{$baseurl}}/filer/' + id + '?term=' + reply, NavUpdate);
+ $.get('{{$baseurl}}/filer/' + id + '?term=' + reply, updateInit);
liking = 1;
$('#item-filer-dialog').modal('hide');
}
@@ -372,13 +372,13 @@ var activeCommentText = '';
function itemBookmark(id) {
$.get('{{$baseurl}}/bookmarks?f=&item=' + id);
if(timer) clearTimeout(timer);
- timer = setTimeout(NavUpdate,1000);
+ timer = setTimeout(updateInit,1000);
}
function itemAddToCal(id) {
$.get('{{$baseurl}}/events/add/' + id);
if(timer) clearTimeout(timer);
- timer = setTimeout(NavUpdate,1000);
+ timer = setTimeout(updateInit,1000);
}
function toggleVoting() {
@@ -409,7 +409,7 @@ var activeCommentText = '';
if(id && icon) {
$.get('{{$baseurl}}/react?f=&postid=' + id + '&emoji=' + icon);
if(timer) clearTimeout(timer);
- timer = setTimeout(NavUpdate,1000);
+ timer = setTimeout(updateInit,1000);
}
}