Bug 2965: Follow up - fixing problem with barcode field
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Mon, 20 Dec 2010 19:24:31 +0000 (20:24 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 20 Dec 2010 19:44:46 +0000 (08:44 +1300)
The scanned barcode stayed in the checkout field instead of being
deleted after checkout or confirmation.

This patch reverts the template change, so the barcode is deleted.

Please test!

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl

index 20b3650..4a6399f 100644 (file)
@@ -418,7 +418,7 @@ No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
     <!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->
            <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" />
     <!-- TMPL_ELSE -->
-           <!-- TMPL_IF NAME="barcode" --><input type="text" name="barcode" id="barcode" class="barcode focus" size="14" value="<!-- TMPL_VAR NAME="barcode" -->"/><!-- TMPL_ELSE --><input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /><!-- /TMPL_IF -->
+           <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
     <!-- /TMPL_IF -->
     <input type="submit" value="Check Out" />