Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision fca9d519

Von Hans Peter Schlaepfer vor mehr als 4 Jahren hinzugefügt

  • ID fca9d5191bb35daa1abf3b5c7073d0bbfe98efdf
  • Vorgänger 9b7dca74
  • Nachfolger 149fbf1d

Design 4.0: b/m/io.pl: Knopf für Langtext geändert

Unterschiede anzeigen:

bin/mozilla/io.pl
$column_data{description} = (($rows > 1) # if description is too large, use a textbox instead
? $cgi->textarea( -name => "description_$i", -id => "description_$i", -default => $form->{"description_$i"}, -rows => $rows, -class => "wi-lightwide")
: $cgi->textfield(-name => "description_$i", -id => "description_$i", -value => $form->{"description_$i"}, -class => "wi-lightwide") )
. $cgi->button(-value => $locale->text('L'), -onClick => "kivi.SalesPurchase.edit_longdescription($i)", -class => "wi-tiny neutral");
# . $cgi->button(-value => $locale->text('L'), -onClick => "kivi.SalesPurchase.edit_longdescription($i)", -class => "wi-tiny neutral");
. 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>|;
my $qty_dec = ($form->{"qty_$i"} =~ /\.(\d+)/) ? length $1 : 2;

Auch abrufbar als: Unified diff