% #select(-*)
% 'options' => $f->{'options'},
% 'labels' => $f->{'labels'},
-% 'empty_label' => $f->{'empty_label'},
% 'multiple' => $f->{'multiple'},
% 'disable_empty' => $f->{'disable_empty'},
% #select-reason
% 'disabled' => $f->{'disabled'},
% );
%
+% #selectlayers, others?
+% $include_common{$_} = $f->{$_}
+% foreach grep exists($f->{$_}),
+% qw( js_only html_only select_only layers_only cell_style);
+%
+% #select-*
+% $include_common{$_} = $f->{$_}
+% foreach grep exists($f->{$_}), qw( empty_label );
+%
% #select-table, checkboxes-table
% $include_common{$_} = $f->{$_}
% foreach grep exists($f->{$_}), qw( table name_col );
% 'object' => $object,
% 'cgi' => $cgi,
% 'onchange' => $onchange,
-% 'cell_style' => ( $fieldnum ? 'border-top:1px solid black' : '' ),
+% ( $fieldnum ? ('cell_style' => 'border-top:1px solid black') : () ),
% );
<% include( @include ) %>
<SCRIPT TYPE="text/javascript">
- var <%$field%>_rownum = <% $g_row %>;
+ var <%$field%>_rownum = <% $g_row - 1 %>;
var <%$field%>_fieldnum = <% $fieldnum %>;
function spawn_<%$field%>(what) {