[open-ils-commits] r14418 - branches/rel_1_6/Open-ILS/xul/staff_client/server/patron (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Oct 14 15:32:10 EDT 2009


Author: erickson
Date: 2009-10-14 15:32:05 -0400 (Wed, 14 Oct 2009)
New Revision: 14418

Modified:
   branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/ue.js
Log:
like dob, trim the expire_date to accomodate jscalendar

Modified: branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/ue.js
===================================================================
--- branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/ue.js	2009-10-14 13:27:45 UTC (rev 14417)
+++ branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/ue.js	2009-10-14 19:32:05 UTC (rev 14418)
@@ -161,6 +161,7 @@
     
     // jscalendar doesn't like the date format.  trim the time data
     if(patron.dob()) patron.dob( patron.dob().replace(/T.*/, '') );
+    if(patron.expire_date()) patron.expire_date( patron.expire_date().replace(/T.*/, '') );
 	
 	uEditDraw( 
 		uEditFetchIdentTypes(),



More information about the open-ils-commits mailing list