From f5bfa11db2df2362ec5f81699b26942d52e9b60b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 11 Dec 2009 10:10:53 -0500 Subject: Revert "remove NoticeForward from util.js" This reverts commit 038fbddd02d2f144936357ed2ed40c09b1441c6b. --- js/util.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'js') diff --git a/js/util.js b/js/util.js index 336cd8cfe..71514324b 100644 --- a/js/util.js +++ b/js/util.js @@ -315,6 +315,10 @@ var SN = { // StatusNet $('.form_disfavor').each(function() { SN.U.FormXHR($(this)); }); }, + NoticeForward: function() { + $('.form_forward').each(function() { SN.U.FormXHR($(this)); }); + }, + NoticeAttachments: function() { $('.notice a.attachment').each(function() { SN.U.NoticeWithAttachment($(this).closest('.notice')); @@ -448,6 +452,7 @@ var SN = { // StatusNet Notices: function() { if ($('body.user_in').length > 0) { SN.U.NoticeFavor(); + SN.U.NoticeForward(); SN.U.NoticeReply(); } -- cgit v1.2.3-54-g00ecf From 1204178660d34088f49bdaeb21189651c48c591e Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 11 Dec 2009 10:12:34 -0500 Subject: rename forward form to repeat form in JS --- js/util.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js') diff --git a/js/util.js b/js/util.js index 71514324b..f60b5d313 100644 --- a/js/util.js +++ b/js/util.js @@ -315,8 +315,8 @@ var SN = { // StatusNet $('.form_disfavor').each(function() { SN.U.FormXHR($(this)); }); }, - NoticeForward: function() { - $('.form_forward').each(function() { SN.U.FormXHR($(this)); }); + NoticeRepeat: function() { + $('.form_repeat').each(function() { SN.U.FormXHR($(this)); }); }, NoticeAttachments: function() { @@ -452,7 +452,7 @@ var SN = { // StatusNet Notices: function() { if ($('body.user_in').length > 0) { SN.U.NoticeFavor(); - SN.U.NoticeForward(); + SN.U.NoticeRepeat(); SN.U.NoticeReply(); } -- cgit v1.2.3-54-g00ecf