Bug 2965: Follow up - fixing problem with barcode field

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>
This commit is contained in:
Katrin Fischer 2010-12-20 20:24:31 +01:00 committed by Chris Cormack
parent 872529cb11
commit cf4d851907
1 changed files with 1 additions and 1 deletions

View 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" />