summaryrefslogtreecommitdiff
path: root/plugins/Realtime
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-02-01 10:30:45 -0800
committerBrion Vibber <brion@pobox.com>2010-02-01 10:30:45 -0800
commitc14ac57b1935a124dd4205e0f02d939086b5867e (patch)
tree207e1c947eec0eadac98ba0050d84056e450d99e /plugins/Realtime
parent85544d369d2c9c3ba0fef6c821c951879823b014 (diff)
parentfba4153346435026976193a7d38e6042b863733d (diff)
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'plugins/Realtime')
-rw-r--r--plugins/Realtime/realtimeupdate.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js
index fb9dcdbfb..7adea45a0 100644
--- a/plugins/Realtime/realtimeupdate.js
+++ b/plugins/Realtime/realtimeupdate.js
@@ -95,9 +95,7 @@ RealtimeUpdate = {
$("#notices_primary .notice:first").css({display:"none"});
$("#notices_primary .notice:first").fadeIn(1000);
- SN.U.FormXHR($('#'+noticeItemID+' .form_favor'));
SN.U.NoticeReplyTo($('#'+noticeItemID));
- SN.U.FormXHR($('#'+noticeItemID+' .form_repeat'));
SN.U.NoticeWithAttachment($('#'+noticeItemID));
},
@@ -132,7 +130,7 @@ RealtimeUpdate = {
user = data['user'];
html = data['html'].replace(/&lt;/g,'<').replace(/&gt;/g,'>').replace(/&quot;/g,'"').replace(/&amp;/g,'&');
source = data['source'].replace(/&lt;/g,'<').replace(/&gt;/g,'>').replace(/&quot;/g,'"').replace(/&amp;/g,'&');
-console.log(data);
+
ni = "<li class=\"hentry notice\" id=\"notice-"+unique+"\">"+
"<div class=\"entry-title\">"+
"<span class=\"vcard author\">"+
@@ -180,7 +178,7 @@ console.log(data);
ni = ni+"</div>";
- "</li>";
+ ni = ni+"</li>";
return ni;
},