[open-ils-commits] r8310 -
branches/rel_1_2/Open-ILS/xul/staff_client/server/admin
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jan 3 16:13:39 EST 2008
Author: erickson
Date: 2008-01-03 15:49:54 -0500 (Thu, 03 Jan 2008)
New Revision: 8310
Modified:
branches/rel_1_2/Open-ILS/xul/staff_client/server/admin/closed_dates.js
Log:
showing last year closed dates in addition to this year and beyond
Modified: branches/rel_1_2/Open-ILS/xul/staff_client/server/admin/closed_dates.js
===================================================================
--- branches/rel_1_2/Open-ILS/xul/staff_client/server/admin/closed_dates.js 2008-01-03 19:42:36 UTC (rev 8309)
+++ branches/rel_1_2/Open-ILS/xul/staff_client/server/admin/closed_dates.js 2008-01-03 20:49:54 UTC (rev 8310)
@@ -128,7 +128,7 @@
}
function cdDrawRange( start, end, alertSuccess ) {
- start = (start) ? start : new Date().getYear() + 1900 + '-01-01';
+ start = (start) ? start : new Date().getYear() + 1899 + '-01-01'; /* include last year's closed info for comparison */
end = (end) ? end : '3001-01-01';
if(alertSuccess) alertId('cd_update_success');
More information about the open-ils-commits
mailing list