X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=blobdiff_plain;f=yarrg%2Fweb%2Fenter_commod;h=c3f5553d4733f0e9c70dfb8f90637716b30e826a;hp=2ccc9ab07b84e6fbc314f48d6df66118f96c6d66;hb=3ce667a2d3fd7c36f60da86bb59071264790e375;hpb=13b9f206d92634f4e6f4a940ed31690c1235d827
diff --git a/yarrg/web/enter_commod b/yarrg/web/enter_commod
index 2ccc9ab..c3f5553 100644
--- a/yarrg/web/enter_commod
+++ b/yarrg/web/enter_commod
@@ -47,8 +47,8 @@ $cmid_r
Enter commodity (abbreviations are OK):
-<&| qtextstring, qa => $qa, dbh => $dbh,
- thingstring => 'commodstring', emsgstore => $emsg_r,
+<&| qtextstring, qa => $qa, dbh => $dbh, emsgstore => $emsg_r,
+ thingstring => 'commodstring', prefix => 'cm',
onresults => sub { ($$commodname_r,$$cmid_r)= @{ $_[0] } if @_ }
&>
size=80
@@ -68,5 +68,6 @@ Enter commodity (abbreviations are OK):
% ($$commodname_r,$$cmid_r) = @$row if $selected;
% }
+
% } #---------- end of dropdowns, now common middle of page code ----------