From: Sarven Capadisli Date: Sat, 31 Oct 2009 19:14:57 +0000 (+0100) Subject: Use FormNoticeEnhancements instead of Counter X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cd4c1267ff1355710822c6b107e576c500bf3605;p=quix0rs-gnu-social.git Use FormNoticeEnhancements instead of Counter --- 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) {