Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-16922

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 3.3.5
    • Posting

      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>

       

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

              Created:
              Updated:
              Resolved: