Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16922

Reply window 'message-box' field doesn't initially have focus

    XMLWordPrintable

Details

    Description

      One of my site members reported the "reply" window doesn't initially have the focus on the text area. I confirmed it doesn't on phpbb.com's community forum, too. Adding "autofocus" to posting_editor.html appears to fix it:

      	<div id="message-box" class="message-box">		<textarea <!-- IF S_UCP_ACTION and not S_PRIVMSGS and not S_EDIT_DRAFT -->name="signature" id="signature" style="height: 9em;"<!-- ELSE -->name="message" id="message"<!-- ENDIF --> rows="15" cols="76" tabindex="4" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" class="inputbox" autofocus>{MESSAGE}{DRAFT_MESSAGE}{SIGNATURE}</textarea>	</div>

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            HB HB
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: