Changeset 2139


Ignore:
Timestamp:
Nov 14, 2013, 10:02:09 AM (7 years ago)
Author:
olle
Message:

Refs #519. Refs #449. The two blood registration wizards updated to allow 6-digit dates to be used:

  1. JSP script bloodform.jsp in reggie/resources/personal/ updated in functions samplingDateTimeOnChange() and freezerDateTimeOnChange() to call function autoFillDate(shortDate, allowSixDigitDates) in reggie.js in reggie/resources/ with argument allowSixDigitDates set to true.
  2. JSP script bloodfollowupform.jsp in reggie/resources/personal/ updated in functions samplingDateTimeOnChange() and freezerDateTimeOnChange() to call function autoFillDate(shortDate, allowSixDigitDates) in reggie.js in reggie/resources/ with argument allowSixDigitDates set to true.
Location:
extensions/net.sf.basedb.reggie/branches/2.13-stable/resources/personal
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/branches/2.13-stable/resources/personal/bloodfollowupform.jsp

    r2138 r2139  
    358358  {
    359359    // Auto-fill the date if it's only given with 4(MMdd) or 6(yyMMdd) digits.
    360     samplingDate = autoFillDate(samplingDate);
     360    samplingDate = autoFillDate(samplingDate, true);
    361361    frm.samplingDate.value = samplingDate;
    362362
     
    394394  {
    395395    // Auto-fill the date if it's only given with 4(MMdd) or 6(yyMMdd) digits.
    396     freezerDate = autoFillDate(freezerDate);
     396    freezerDate = autoFillDate(freezerDate, true);
    397397    frm.freezerDate.value = freezerDate;
    398398
  • extensions/net.sf.basedb.reggie/branches/2.13-stable/resources/personal/bloodform.jsp

    r1915 r2139  
    272272  {
    273273    // Auto-fill the date if it's only given with 4(MMdd) or 6(yyMMdd) digits.
    274     samplingDate = autoFillDate(samplingDate);
     274    samplingDate = autoFillDate(samplingDate, true);
    275275    frm.samplingDate.value = samplingDate;
    276276
     
    308308  {
    309309    // Auto-fill the date if it's only given with 4(MMdd) or 6(yyMMdd) digits.
    310     freezerDate = autoFillDate(freezerDate);
     310    freezerDate = autoFillDate(freezerDate, true);
    311311    frm.freezerDate.value = freezerDate;
    312312
Note: See TracChangeset for help on using the changeset viewer.