From d489ba89ec790556853d978d5d59d248c1b55195 Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 8 Aug 2006 22:54:32 +0000 Subject: [PATCH] fixed bug caused by dupe barcode check git-svn-id: svn://svn.open-ils.org/ILS/trunk@5389 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/ue.xhtml | 6 ++++-- Open-ILS/xul/staff_client/server/patron/ue_config.js | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/patron/ue.xhtml b/Open-ILS/xul/staff_client/server/patron/ue.xhtml index aed9828c48..92388ee6e7 100644 --- a/Open-ILS/xul/staff_client/server/patron/ue.xhtml +++ b/Open-ILS/xul/staff_client/server/patron/ue.xhtml @@ -196,14 +196,16 @@
Barcode
- + +
diff --git a/Open-ILS/xul/staff_client/server/patron/ue_config.js b/Open-ILS/xul/staff_client/server/patron/ue_config.js index 07abee73fe..8113affe04 100644 --- a/Open-ILS/xul/staff_client/server/patron/ue_config.js +++ b/Open-ILS/xul/staff_client/server/patron/ue_config.js @@ -89,6 +89,12 @@ function uEditBarcodeBlur(field) { field.widget.node.select(); }, 10 ); + } else { + var node = uEditFindFieldByWId("ue_username"); + if(!node.widget.node.value) { + node.widget.node.value = barcode; + node.widget.node.onchange(); + } } } ); -- 2.11.0