From 44455bae2a458bd4fb076323c1c5d3ae54478671 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 12 Jan 2015 12:13:03 +0100 Subject: [PATCH] Make sure we add ajax=1 to inputform if using javascript --- js/util.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }); - } },