|
Joined: Aug 2006
Posts: 1,358
Veteran
|
Veteran
Joined: Aug 2006
Posts: 1,358 |
When you use quick reply, hitting tab once gets you at the submit button, hitting tab a 2nd time gets you to preview post.
This does not happen when you to this in the full reply screen and send a PM screen.
I don't know if it's a html thing that can easely by changed, but some users are asking for it at our board.
Last edited by Rick; 05/31/2007 1:38 PM.
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
I think the tab order isn't set on the full reply page
|
|
|
|
Joined: Aug 2006
Posts: 1,358
Veteran
|
Veteran
Joined: Aug 2006
Posts: 1,358 |
I think the tab order isn't set on the full reply page That was it... in newreply.tpl change <input type="button" name="preview" value="{$lang.DO_PREVIEW}" class="form-button" onclick="doPreview();" /> To: <input type="button" tabindex="4" name="preview" value="{$lang.DO_PREVIEW}" class="form-button" onclick="doPreview();" /> I still have to look at the PM screen.
|
|
|
|
Joined: Aug 2006
Posts: 1,358
Veteran
|
Veteran
Joined: Aug 2006
Posts: 1,358 |
I still have to look at the PM screen. and for those seeking to fix this: sendprivate.tpl change line <input type="button" name="preview" value="{$lang.MESS_PREVIEW}" class="form-button" onclick="doPreview();" /> into: <input tabindex="4" type="button" name="preview" value="{$lang.MESS_PREVIEW}" class="form-button" onclick="doPreview();" /> and in mess_handler.tpl change the following 2 lines: <input type="submit" name="buttsubmit" value="{$lang.BUTT_SUBMIT}" class="form-button" />
<input type="button" name="preview" value="{$lang.PREVIEW}" class="form-button" onclick="doPreview();" /> into: <input tabindex="3" type="submit" name="buttsubmit" value="{$lang.BUTT_SUBMIT}" class="form-button" />
<input tabindex="4" type="button" name="preview" value="{$lang.PREVIEW}" class="form-button" onclick="doPreview();" /> Not much of a difference with the original code, it just adds a "tabindex="?"" to every line.
|
|
|
|
Joined: Aug 2006
Posts: 1,358
Veteran
|
Veteran
Joined: Aug 2006
Posts: 1,358 |
And one more for newpost.tpl <input type="button" name="preview" value="{$lang.DO_PREVIEW}" class="form-button" onclick="doPreview();"/> replace with: <input type="button" tabindex="4" name="preview" value="{$lang.DO_PREVIEW}" class="form-button" onclick="doPreview();"/> edit: I attached a text file with all the fixes in it, it's easier to read.
Last edited by blaaskaak; 05/04/2007 4:14 PM. Reason: Attached a textfile
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
Looks right ... Somehow I expected this out of "the guy who reads all the code line by line" though hehe...
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Thanks for the fixes. They are in for 7.2.
|
|
|
0 members (),
744
guests, and
147
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|