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