]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Resetting counter after a notice submit
authorSarven Capadisli <csarven@status.net>
Fri, 30 Oct 2009 14:51:52 +0000 (15:51 +0100)
committerSarven Capadisli <csarven@status.net>
Fri, 30 Oct 2009 14:51:52 +0000 (15:51 +0100)
js/util.js

index 1519df252e91fa66ec615d39d4987fd75d4897bc..1b855caaf2c9ffaa4327535c3eb5198f6db0f6c7 100644 (file)
@@ -201,7 +201,7 @@ var SN = { // StatusNet
                             }
                             else {
                                 SN.C.I.NoticeDataText.val('');
-//                                SN.U.NoticeTextCounter($('#'+SN.C.S.NoticeDataText), $('#'+SN.C.S.NoticeTextCount), SN.C.I.NoticeTextCharMax);
+                                SN.U.Counter();
                             }
                         }
                     }
@@ -242,7 +242,7 @@ var SN = { // StatusNet
                         $('#'+SN.C.S.NoticeDataText).val('');
                         $('#'+SN.C.S.NoticeDataAttach).val('');
                         $('#'+SN.C.S.NoticeInReplyTo).val('');
-//                        SN.U.NoticeTextCounter($('#'+SN.C.S.NoticeDataText), $('#'+SN.C.S.NoticeTextCount), SN.C.I.NoticeTextCharMax);
+                        SN.U.Counter();
                     }
                 },
                 complete: function(xhr, textStatus) {