X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=blobdiff_plain;f=yarrg%2Fweb%2Fenter_commod;h=70310bcd4df1033a917a7c773b18d2a5a20b91ea;hp=2ccc9ab07b84e6fbc314f48d6df66118f96c6d66;hb=43454422b2df5e0dcfe144fcb871a2b6f9c1a3d0;hpb=13b9f206d92634f4e6f4a940ed31690c1235d827 diff --git a/yarrg/web/enter_commod b/yarrg/web/enter_commod index 2ccc9ab..70310bc 100644 --- a/yarrg/web/enter_commod +++ b/yarrg/web/enter_commod @@ -47,12 +47,10 @@ $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', boxopts => 'size=80', onresults => sub { ($$commodname_r,$$cmid_r)= @{ $_[0] } if @_ } &> - size=80 - % } else { #---------- dropdowns, user selects from menus ---------- @@ -68,5 +66,6 @@ Enter commodity (abbreviations are OK):
% ($$commodname_r,$$cmid_r) = @$row if $selected; % } +

% } #---------- end of dropdowns, now common middle of page code ----------