aboutsummaryrefslogtreecommitdiffstats
path: root/view/jot-header.tpl
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-24 23:20:20 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-24 23:20:20 -0700
commitfc8379b1080823bb69664aa4119ba190e1f5b1ca (patch)
tree80179ca329106a59247a54106e34716eee19dfff /view/jot-header.tpl
parent6368bd165612dfa1e95e8d4c99b922797bf429af (diff)
downloadvolse-hubzilla-fc8379b1080823bb69664aa4119ba190e1f5b1ca.tar.gz
volse-hubzilla-fc8379b1080823bb69664aa4119ba190e1f5b1ca.tar.bz2
volse-hubzilla-fc8379b1080823bb69664aa4119ba190e1f5b1ca.zip
live updates sort of working
Diffstat (limited to 'view/jot-header.tpl')
-rw-r--r--view/jot-header.tpl36
1 files changed, 1 insertions, 35 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 78e0151d8..3a1d0a2ae 100644
--- a/view/jot-header.tpl
+++ b/view/jot-header.tpl
@@ -1,3 +1,4 @@
+
<script language="javascript" type="text/javascript"
src="$baseurl/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
<script language="javascript" type="text/javascript">
@@ -50,41 +51,6 @@ tinyMCE.init({
}
}
- var src = null;
-
- $(document).ready(function() {
- if($('#live-network').length) { src = 'network'; setTimeout(liveUpdate, 30000); }
- if($('#live-profile').length) { src = 'profile'; setTimeout(liveUpdate, 30000); }
- });
-
- function liveUpdate() {
- if(src == null) { return; }
- if($('.comment-edit-text-full').length) {
- setTimeout(liveUpdate, 30000);
- return;
- }
-
-// $.get('update_' + src,function(data)
-// {
-// $(data).find('#wall-item-outside-wrapper').each(function() {
-// var net = $(this).find('net').text();
-// if(net == 0) { net = ''; }
-// $('#net-update').html(net);
-// var home = $(this).find('home').text();
-// if(home == 0) { home = ''; }
-// $('#home-update').html(home);
-// var mail = $(this).find('mail').text();
-// if(mail == 0) { mail = ''; }
-// $('#mail-update').html(mail);
-// var intro = $(this).find('intro').text();
-// if(intro == 0) { intro = ''; }
-// $('#notify-update').html(intro);
-// });
-// }) ;
-
- setTimeout(liveUpdate,30000);
- }
-