From 2a4f08f528db948afb887977278667db2784c0ee Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 29 Jan 2007 14:50:20 +0000 Subject: [PATCH] Beim "Erneuern" den vorher eingestellten Drucker auch weiterhin eingestellt lassen. --- bin/mozilla/io.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 4a094d2c1..afcdb6672 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1602,11 +1602,12 @@ sub print_options { } if (scalar(keys (%{ $form->{printers} })) !=0) { - - $printer_select = qq| |; foreach $item (@{ $form->{printers} }) { - $printer_select .= qq||; + $selected = $item->{"id"} == $form->{"printer_id"} ? "selected" : ""; + $printer_select .= qq||; } } -- 2.20.1