Revision 7f55023a
Von Hans Peter Schlaepfer vor fast 5 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
311 | 311 |
$column_data{description} = (($rows > 1) # if description is too large, use a textbox instead |
312 | 312 |
? $cgi->textarea( -name => "description_$i", -id => "description_$i", -default => $form->{"description_$i"}, -rows => $rows, -class => "wi-lightwide") |
313 | 313 |
: $cgi->textfield(-name => "description_$i", -id => "description_$i", -value => $form->{"description_$i"}, -class => "wi-lightwide") ) |
314 |
. $cgi->button(-value => $locale->text('L'), -onClick => "kivi.SalesPurchase.edit_longdescription($i)", -class => "wi-tiny neutral"); |
|
314 |
# . $cgi->button(-value => $locale->text('L'), -onClick => "kivi.SalesPurchase.edit_longdescription($i)", -class => "wi-tiny neutral"); |
|
315 |
. q|<a href="javascript:kivi.SalesPurchase.edit_longdescription(| . $i . q|);" class="button-image edit" title="| . t8('Edit long description') . q|"><img src="image/pencil.png"></a>|; |
|
315 | 316 |
|
316 | 317 |
my $qty_dec = ($form->{"qty_$i"} =~ /\.(\d+)/) ? length $1 : 2; |
317 | 318 |
|
Auch abrufbar als: Unified diff
Design 4.0: b/m/io.pl: Knopf für Langtext geändert