Committer: nnikulochkina
LJSUP-13017: Paid Repost in update.bml and editjournal.bmlU trunk/cgi-bin/LJ/Widget/EntryForm.pm U trunk/cgi-bin/ljprotocol.pl U trunk/cgi-bin/weblib.pl
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm =================================================================== --- trunk/cgi-bin/LJ/Widget/EntryForm.pm 2012-08-17 09:03:43 UTC (rev 22682) +++ trunk/cgi-bin/LJ/Widget/EntryForm.pm 2012-08-17 09:20:08 UTC (rev 22683) @@ -927,8 +927,6 @@ }; $label = LJ::Lang::ml('entryform.paid_repost.budget'); } else { - $label .= LJ::html_hidden({ 'name' => 'revoke_repost_offer' }); - $opts = { 'name' => 'add_repost_budget', 'id' => 'repost_budget', Modified: trunk/cgi-bin/ljprotocol.pl =================================================================== --- trunk/cgi-bin/ljprotocol.pl 2012-08-17 09:03:43 UTC (rev 22682) +++ trunk/cgi-bin/ljprotocol.pl 2012-08-17 09:20:08 UTC (rev 22683) @@ -3300,7 +3300,7 @@ jitemid => $itemid, budget => $req->{repost_budget}, add_budget => $req->{add_repost_budget}, - revoke => $req->{revoke_repost_offer}, + revoke => !$req->{paid_repost_on}, }, \$error, ); Modified: trunk/cgi-bin/weblib.pl =================================================================== --- trunk/cgi-bin/weblib.pl 2012-08-17 09:03:43 UTC (rev 22682) +++ trunk/cgi-bin/weblib.pl 2012-08-17 09:20:08 UTC (rev 22683) @@ -1158,7 +1158,7 @@ prop_opt_preformatted prop_opt_nocomments prop_opt_lockcomments prop_current_location prop_current_coords prop_taglist prop_qotdid prop_give_features - repost_budget add_repost_budget revoke_repost_offer)) { + repost_budget add_repost_budget paid_repost_on)) { $req->{$_} = $POST->{$_}; }