[Koha-patches] [PATCH] Bugfix Corrects a bug in the labels printer profile module which caused the printer name and tray to be updated incorrectly when saving changes.
Chris Nighswonger
cnighswonger at foundations.edu
Mon Oct 12 17:51:00 CEST 2009
---
.../prog/en/modules/labels/label-edit-profile.tmpl | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tmpl
index f3e32b0..7cec071 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tmpl
@@ -25,7 +25,8 @@
<li>
<label for="printer_name">Printer Name:</label>
<!-- TMPL_IF NAME="profile_id" -->
- <!-- TMPL_VAR NAME="printer_name" -->
+ <!-- TMPL_VAR NAME="printer_name" -->
+ <input type="hidden" name="printer_name" value="<!-- TMPL_VAR NAME="printer_name" -->" />
<!-- TMPL_ELSE -->
<input type="text" size="20" name="printer_name" id="printer_name" />
<!-- /TMPL_IF -->
@@ -34,6 +35,7 @@
<label for="paper_bin">Paper Bin:</label>
<!-- TMPL_IF NAME="profile_id" -->
<!-- TMPL_VAR NAME="paper_bin" -->
+ <input type="hidden" name="paper_bin" value="<!-- TMPL_VAR NAME="paper_bin" -->" />
<!-- TMPL_ELSE -->
<input type="text" size="20" name="paper_bin" id="paper_bin" />
<!-- /TMPL_IF -->
--
1.6.0.4
More information about the Koha-patches
mailing list