aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/jot-header.tpl8
-rw-r--r--view/wall_item.tpl2
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>