Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 72230613

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

  • ID 7223061321033ba44c016c7e8564de7bbe82cb71
  • Vorgänger ca4f4936
  • Nachfolger f3dc4680

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