Skip to content

Commit b28d0db

Browse files
authored
Merge pull request #211 from AtlasOfLivingAustralia/feature/issue207
Allow date to be blanked out by model change #207
2 parents 4b36757 + 8da596a commit b28d0db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

grails-app/assets/javascripts/knockout-dates.js

+3
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@
6161
if (!isNaN(widget.date)) {
6262
widget.setDate(widget.date);
6363
}
64+
else {
65+
widget.setDate(null);
66+
}
6467
}
6568
}
6669
};

0 commit comments

Comments
 (0)