]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - js/util.js
Merge branch 'batchlocation'
[quix0rs-gnu-social.git] / js / util.js
index 66d66c15476fef7ad482a263b4a8b46858919323..f60b5d313750559dcd519625d0550d1028f70a84 100644 (file)
@@ -77,6 +77,9 @@ var SN = { // StatusNet
                     SN.U.SubmitOnReturn(e, form);
                 });
             }
+            else {
+                $('#'+form_id+' #'+SN.C.S.NoticeTextCount).text(jQuery.data(form[0], 'ElementData').MaxLength);
+            }
 
             if ($('body')[0].id != 'conversation') {
                 $('#'+form_id+' textarea').focus();
@@ -312,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() {
@@ -449,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();
             }