From 72dd57db1fc5c2f1b1917de1226c1247ab03b2b9 Mon Sep 17 00:00:00 2001 From: mfaber Date: Wed, 2 Oct 2013 19:36:10 +0200 Subject: [PATCH] Fixed issue #8226: Error when using mask mm/yy in date question Dev: error appeared while entering a date in a date time question Dev: with settings "dropdown boxes yes" and a date mask without Dev: day (eg. YY/MM) --- scripts/date.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/date.js b/scripts/date.js index 2f1470758b4..11b574d0356 100644 --- a/scripts/date.js +++ b/scripts/date.js @@ -91,7 +91,7 @@ function dateUpdater() { { iMonth=$('#month'+thisid).val(); } - if ($('#month'+thisid).size()==0) + if ($('#day'+thisid).size()==0) { iDay='01'; }