diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-01 10:30:45 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-01 10:30:45 -0800 |
commit | c14ac57b1935a124dd4205e0f02d939086b5867e (patch) | |
tree | 207e1c947eec0eadac98ba0050d84056e450d99e /plugins/Realtime/realtimeupdate.js | |
parent | 85544d369d2c9c3ba0fef6c821c951879823b014 (diff) | |
parent | fba4153346435026976193a7d38e6042b863733d (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'plugins/Realtime/realtimeupdate.js')
-rw-r--r-- | plugins/Realtime/realtimeupdate.js | 6 |
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(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/&/g,'&'); source = data['source'].replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/&/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; }, |