]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Make sure we add ajax=1 to inputform if using javascript
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 12 Jan 2015 11:13:03 +0000 (12:13 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 12 Jan 2015 11:13:03 +0000 (12:13 +0100)
js/util.js

index 6fabb1e13b1f65492746a3b410aa5a1ae85fe018..793626ed25bfd580374415bdd980d1e3ebceeae6 100644 (file)
@@ -1437,6 +1437,9 @@ var SN = { // StatusNet
                 // SN.Init.NoticeFormSetup() will get run
                 // when forms get displayed for the first time...
 
+                // Initially show Status tab
+                SN.U.switchInputFormTab("status");
+
                 // Make inline reply forms self-close when clicking out.
                 $('body').on('click', function (e) {
                     var currentForm = $('#content .input_forms div.current');
@@ -1476,7 +1479,6 @@ var SN = { // StatusNet
 
                 // Infield labels for notice form inputs.
                 $('.input_forms fieldset fieldset label').inFieldLabels({ fadeOpacity:0 });
-
             }
         },