журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[livejournal] r22748: LJSUP-13439: Wrong checkbox attribute in...

Committer: nnikulochkina
LJSUP-13439: Wrong checkbox attribute in old update.bml
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 07:33:04 UTC (rev 22747)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-08-28 08:01:45 UTC (rev 22748)
@@ -890,7 +890,7 @@
             return '' unless LJ::is_enabled("paid_repost");
             
             my ($offer, $budget) = ($opts->{repost_offer}, $opts->{repost_budget});
-            
+
             my $out = '';
 
             my $checkbox = LJ::html_check({
@@ -900,7 +900,6 @@
                 'name'     => 'paid_repost_on',
                 'id'       => 'paid_repost_on',
                 'selected' => ($budget > 0 ? 1 : 0),
-                $opts->{'prop_opt_preformatted'} || $opts->{'event_format'},
                 'label'    => "",
             });
             my $checkbox_text = LJ::Lang::ml('entryform.paid_repost.checkbox');
@@ -979,7 +978,6 @@
                 'name'     => 'sticky_type',
                 'id'       => 'sticky_type',
                 'selected' => $selected,
-                $opts->{'prop_opt_preformatted'} || $opts->{'event_format'},
                 'label'    => "",
             });
 
@@ -1005,7 +1003,6 @@
                 'name'     => 'prop_opt_backdated',
                 'id'       => 'do_not_add_type',
                 'selected' => $selected,
-                $opts->{'prop_opt_preformatted'} || $opts->{'event_format'},
                 'label'    => "",
             });
             my $help = LJ::help_icon_html('backdate');

Tags: livejournal, nikulochkina, nnikulochkina, pm
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