diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-24 15:21:33 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-24 15:21:33 -0700 |
commit | 6368bd165612dfa1e95e8d4c99b922797bf429af (patch) | |
tree | d64d21ef77e8dfaae0162f376eae48ecde8eebe0 /view/jot-header.tpl | |
parent | d6dbcf8581ef4f93db386eb5c52b060831ee4762 (diff) | |
download | volse-hubzilla-6368bd165612dfa1e95e8d4c99b922797bf429af.tar.gz volse-hubzilla-6368bd165612dfa1e95e8d4c99b922797bf429af.tar.bz2 volse-hubzilla-6368bd165612dfa1e95e8d4c99b922797bf429af.zip |
more live update
Diffstat (limited to 'view/jot-header.tpl')
-rw-r--r-- | view/jot-header.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 8505b53bc..78e0151d8 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -53,8 +53,8 @@ tinyMCE.init({ var src = null; $(document).ready(function() { - if($('#live-network').length) { src = 'net'; setTimeout(liveUpdate, 30000); } - if($('#live-profile').length) { src = 'wall'; setTimeout(liveUpdate, 30000); } + if($('#live-network').length) { src = 'network'; setTimeout(liveUpdate, 30000); } + if($('#live-profile').length) { src = 'profile'; setTimeout(liveUpdate, 30000); } }); function liveUpdate() { @@ -64,9 +64,9 @@ tinyMCE.init({ return; } -// $.get("live_update",function(data) +// $.get('update_' + src,function(data) // { -// $(data).find('result').each(function() { +// $(data).find('#wall-item-outside-wrapper').each(function() { // var net = $(this).find('net').text(); // if(net == 0) { net = ''; } // $('#net-update').html(net); |