]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Use FormNoticeEnhancements instead of Counter
authorSarven Capadisli <csarven@status.net>
Sat, 31 Oct 2009 19:14:57 +0000 (20:14 +0100)
committerSarven Capadisli <csarven@status.net>
Sat, 31 Oct 2009 19:14:57 +0000 (20:14 +0100)
js/util.js

index 663ec89863be549feb00e284bdc4e31cccb7dc91..c5d03ce11796c790e053cb4a4ff6c387e122f6e4 100644 (file)
@@ -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) {