vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r17585: LJSV-1216: Userpic menu in awkward place...

Committer: vad
LJSV-1216: Userpic menu in awkward place in comment form tab order
author Egor Savintsev.
U   trunk/cgi-bin/weblib.pl
Modified: trunk/cgi-bin/weblib.pl
===================================================================
--- trunk/cgi-bin/weblib.pl	2010-10-21 08:26:02 UTC (rev 17584)
+++ trunk/cgi-bin/weblib.pl	2010-10-21 08:43:41 UTC (rev 17585)
@@ -727,12 +727,12 @@
             }
             @pics = sort { lc($a) cmp lc($b) } @pics;
             $qrhtml .= LJ::html_select({'name' => 'prop_picture_keyword',
-                                        'selected' => $userpic, 'id' => 'prop_picture_keyword' },
+                                        'selected' => $userpic, 'id' => 'prop_picture_keyword', 'tabindex' => '11' },
                                        ("", BML::ml('/talkpost.bml.opt.defpic'), map { ($_, $_) } @pics));
 
             # userpic browse button
             $qrhtml .= qq {
-                <input type="button" id="lj_userpicselect" value="Browse" onclick="QuickReply.userpicSelect()"/>
+                <input type="button" id="lj_userpicselect" value="Browse" onclick="QuickReply.userpicSelect()" tabindex="12" />
                 } unless $LJ::DISABLED{userpicselect} || ! $remote->get_cap('userpicselect');
 
             $qrhtml .= LJ::help_icon_html("userpics", " ");
@@ -779,11 +779,11 @@
                                  });
 
     $qrhtml .= "&nbsp;" . LJ::html_submit('submitmoreopts', BML::ml('/talkread.bml.button.more'),
-                                          { 'id' => 'submitmoreopts',
+                                          { 'id' => 'submitmoreopts', 'tabindex' => '31',
                                             'raw' => 'onclick="if (QuickReply.more()){ QuickReply.submit() }"'
                                             });
     if ($LJ::SPELLER) {
-        $qrhtml .= "&nbsp;<input type='checkbox' name='do_spellcheck' value='1' id='do_spellcheck' /> <label for='do_spellcheck'>";
+        $qrhtml .= "&nbsp;<input type='checkbox' name='do_spellcheck' value='1' id='do_spellcheck' tabindex='32' /> <label for='do_spellcheck'>";
         $qrhtml .= BML::ml('/talkread.bml.qr.spellcheck');
         $qrhtml .= "</label>";
     }

Tags: livejournal, pl, vadvs
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment