Permalink
Browse files

* Read shipmode from either CGI or Values, which allows us

	  to bounce to the ship_data page and retain the mode.
  • Loading branch information...
perusionmike committed Jul 18, 2001
1 parent 3abcd46 commit e55f46d5c230095b85d25c68e0b69566d4f92014
Showing with 2 additions and 0 deletions.
  1. +2 −0 dist/lib/UI/pages/admin/ship_data.html
@@ -13,6 +13,7 @@
<!-- do update?: [cgi price_ok]
[perl]
return if ! $CGI->{price_ok};
+ $CGI->{ui_shipmode} ||= $Values->{ui_shipmode};
my $inmode = $CGI->{ui_shipmode};
$inmode =~ s/\W+//g;
#Log("write inmode=$inmode");
@@ -129,6 +130,7 @@
</tr>
[perl]
+ $CGI->{ui_shipmode} ||= $Values->{ui_shipmode};
my $inmode = $CGI->{ui_shipmode};
#Log("ship_data inmode=$inmode");
my $lines = $Config->{Shipping_line};

0 comments on commit e55f46d

Please sign in to comment.