Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[livejournal] r22760: LJSUP-13450: Not working <Tab> key for P...

Committer: esavintcev
LJSUP-13450: Not working <Tab> key for Paid repost
U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-08-28 13:54:37 UTC (rev 22759)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-08-29 08:42:24 UTC (rev 22760)
@@ -899,8 +899,10 @@
                 'value'    => '1',
                 'name'     => 'paid_repost_on',
                 'id'       => 'paid_repost_on',
+                'tabindex' => '220',
                 'selected' => ($budget > 0 ? 1 : 0),
                 'label'    => "",
+                'raw'      => "autocomplete='off'",
             });
             my $checkbox_text = LJ::Lang::ml('entryform.paid_repost.checkbox');
             
@@ -924,14 +926,12 @@
             unless ($offer) {
                 $opts = {
                     'name'  => 'repost_budget',
-                    'id'    => 'repost_budget',
                     'value' => $budget,
                 };
                 $label = LJ::Lang::ml('entryform.paid_repost.budget');
             } else {
                 $opts = {
                     'name'  => 'add_repost_budget',
-                    'id'    => 'repost_budget',
                     'value' => $opts->{add_repost_budget},
                 };
 
@@ -941,6 +941,8 @@
             }
 
             my $field = LJ::html_text({
+                'id'       => 'repost_budget',
+                'tabindex' => '220',
                 'size'     => '10',
                 'raw'      => "autocomplete='off'",
                 %$opts,
@@ -980,6 +982,7 @@
                 'value'    => 'sticky',
                 'name'     => 'sticky_type',
                 'id'       => 'sticky_type',
+                'tabindex' => '220',
                 'selected' => $selected,
                 'label'    => "",
             });
@@ -1005,6 +1008,7 @@
                 'value'    => '1',
                 'name'     => 'prop_opt_backdated',
                 'id'       => 'do_not_add_type',
+                'tabindex' => '220',
                 'selected' => $selected,
                 'label'    => "",
             });

Tags: esavintcev, livejournal, pm, savintsev_egor
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 

  • 0 comments