From: Mikael Nordfeldth Date: Mon, 12 Jan 2015 11:13:03 +0000 (+0100) Subject: Make sure we add ajax=1 to inputform if using javascript X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=44455bae2a458bd4fb076323c1c5d3ae54478671;p=quix0rs-gnu-social.git Make sure we add ajax=1 to inputform if using javascript --- diff --git a/js/util.js b/js/util.js index 6fabb1e13b..793626ed25 100644 --- a/js/util.js +++ b/js/util.js @@ -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 }); - } },