From cd4c1267ff1355710822c6b107e576c500bf3605 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Sat, 31 Oct 2009 20:14:57 +0100 Subject: [PATCH] Use FormNoticeEnhancements instead of Counter --- js/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/util.js b/js/util.js index 663ec89863..c5d03ce117 100644 --- a/js/util.js +++ b/js/util.js @@ -213,7 +213,7 @@ var SN = { // StatusNet } else { $('#'+form_id+' #'+SN.C.S.NoticeDataText).val(''); - SN.U.Counter($('#'+SN.C.S.FormNotice)); + SN.U.NoticeFormEnhancements($('#'+SN.C.S.FormNotice)); } } } @@ -256,7 +256,7 @@ var SN = { // StatusNet $('#'+form_id+' #'+SN.C.S.NoticeDataAttach).val(''); $('#'+form_id+' #'+SN.C.S.NoticeInReplyTo).val(''); $('#'+form_id+' #'+SN.C.S.NoticeDataAttachSelected).remove(); - SN.U.Counter($('#'+SN.C.S.FormNotice)); + SN.U.FormNoticeEnhancements(form); } }, complete: function(xhr, textStatus) {