[open-ils-commits] r11438 - trunk/Open-ILS/xul/staff_client/server/patron
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Dec 6 01:10:10 EST 2008
Author: miker
Date: 2008-12-06 01:10:08 -0500 (Sat, 06 Dec 2008)
New Revision: 11438
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/ue_config.js
Log:
automatically set the juvenile flag to true under the same conditions as displaying the guardian textbox
Modified: trunk/Open-ILS/xul/staff_client/server/patron/ue_config.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/ue_config.js 2008-12-06 06:09:09 UTC (rev 11437)
+++ trunk/Open-ILS/xul/staff_client/server/patron/ue_config.js 2008-12-06 06:10:08 UTC (rev 11438)
@@ -18,7 +18,10 @@
const defaultNetAccess = 'None';
const defaultNetLevel = 1;
const CSS_INVALID_DATA = 'invalid_value';
+
+// XXX Should become an org unit setting XXX
const ADULT_AGE = 18;
+
//const GUARDIAN_NOTE = 'SYSTEM: Parent/Guardian';
var dataFields;
@@ -1069,6 +1072,8 @@
return;
}
+ uEditFindFieldByKey('juvenile').widget.node.checked = true;
+
unHideMe(f.widget.node.parentNode.parentNode.parentNode);
f.required = true;
uEditCheckErrors();
More information about the open-ils-commits
mailing list