$(document).ready(function() {
+ /* rip out the status update textarea. */
+ $("#sone .rip-out").each(function() {
+ var oldElement = $(this);
+ newElement = $("<input type='text'/>");
+ newElement.attr("class", oldElement.attr("class")).attr("name", oldElement.attr("name"));
+ oldElement.before(newElement).remove();
+ });
+
/* this initializes the status update input field. */
getTranslation("WebInterface.DefaultText.StatusUpdate", function(defaultText) {
registerInputTextareaSwap("#sone #update-status .status-input", defaultText, "text", false, false);
</select>
</div>
<div class="select-sender"><button type="button" title="<%= View.UpdateStatus.Text.ChooseSenderIdentity|l10n|html>">+</button></div><label for="text"><%= Page.Index.Label.Text|l10n|html></label>
- <input type="text" class="status-input" name="text" value="" />
+ <textarea class="rip-out status-input" name="text"></textarea>
<button type="submit"><%= Page.Index.Button.Post|l10n|html></button>
</form>
</select>
</div>
<div class="select-sender"><button type="button" title="<%= View.UpdateStatus.Text.ChooseSenderIdentity|l10n|html>">+</button></div>
- <input type="text" class="reply-input" name="text" value="" />
+ <textarea class="rip-out reply-input" name="text"></textarea>
<button type="submit"><%= View.Post.SendReply|l10n|html></button>
</form>
</div>