[open-ils-commits] r16621 - trunk/Open-ILS/web/js/ui/default/actor/user (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Jun 7 16:03:39 EDT 2010
Author: phasefx
Date: 2010-06-07 16:03:33 -0400 (Mon, 07 Jun 2010)
New Revision: 16621
Modified:
trunk/Open-ILS/web/js/ui/default/actor/user/register.js
Log:
doh, too quick on the commit. :) fix the dupe-barcode test
Modified: trunk/Open-ILS/web/js/ui/default/actor/user/register.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/actor/user/register.js 2010-06-07 20:00:13 UTC (rev 16620)
+++ trunk/Open-ILS/web/js/ui/default/actor/user/register.js 2010-06-07 20:03:33 UTC (rev 16621)
@@ -609,7 +609,7 @@
params: [openils.User.authtoken, barcode],
oncomplete : function(r) {
var res = openils.Util.readResponse(r);
- if(res) {
+ if(res == '1') {
dojo.removeClass(dojo.byId('uedit-dupe-barcode-warning'), 'hidden');
} else {
dojo.addClass(dojo.byId('uedit-dupe-barcode-warning'), 'hidden');
More information about the open-ils-commits
mailing list