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 | |
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')
-rw-r--r-- | view/jot-header.tpl | 8 | ||||
-rw-r--r-- | view/wall_item.tpl | 2 |
2 files changed, 5 insertions, 5 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); diff --git a/view/wall_item.tpl b/view/wall_item.tpl index 726d1b320..72ee216d5 100644 --- a/view/wall_item.tpl +++ b/view/wall_item.tpl @@ -13,5 +13,5 @@ $comment </div> -<div class="wall-item-$indentoutside-wrapper-end" ></div> +<div class="wall-item-outside-wrapper-end$indent" ></div> |