projects
/
evergreen
/
tadl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad9ed2d
)
Use library local patron barcode regex in myopac
author
Jeff Godin
<jgodin@tadl.org>
Tue, 3 Apr 2012 14:37:24 +0000
(10:37 -0400)
committer
Jeff Godin
<jgodin@tadl.org>
Tue, 3 Apr 2012 14:37:24 +0000
(10:37 -0400)
Use library local patron barcode regex in myopac, so that
username vs barcode detection will be correct.
The regex used at login is maintained outside of the skin,
so we're already set there.
Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/web/opac/skin/tadlv2/js/myopac.js
patch
|
blob
|
history
diff --git
a/Open-ILS/web/opac/skin/tadlv2/js/myopac.js
b/Open-ILS/web/opac/skin/tadlv2/js/myopac.js
index
6b30463
..
40ea2ff
100644
(file)
--- a/
Open-ILS/web/opac/skin/tadlv2/js/myopac.js
+++ b/
Open-ILS/web/opac/skin/tadlv2/js/myopac.js
@@
-1069,7
+1069,7
@@
function myOPACUpdateUsername() {
return;
}
- r = fetchOrgSettingDefault(g
lobalOrgTree.id
(), 'opac.barcode_regex');
+ r = fetchOrgSettingDefault(g
etLocation
(), 'opac.barcode_regex');
if(r) REGEX_BARCODE = new RegExp(r);
if(username.match(REGEX_BARCODE)) {