add id to option popup
authorAdrian Oldham <adriann@visualthought.com.au>
Sat, 23 Apr 2011 10:27:21 +0000 (20:27 +1000)
committerAdrian Oldham <adriann@visualthought.com.au>
Sat, 23 Apr 2011 10:27:21 +0000 (20:27 +1000)
site/cgi-bin/modules/Generate/Product.pm

index 8cd9a64..8f1265d 100644 (file)
@@ -9,7 +9,7 @@ use Carp qw(confess);
 use BSE::Util::HTML;
 use BSE::Util::Tags qw(tag_article);
 
-our $VERSION = "1.000";
+our $VERSION = "1.001";
 
 sub edit_link {
   my ($self, $id) = @_;
@@ -71,6 +71,7 @@ sub baseActs {
         my @args =
           (
            -name      => $option->{id},
+           -id        => $option->{id},
            -values    => $option->{values},
            -override  => 1,
           );