app/models/fe/date_field.rb in fe-1.0.0 vs app/models/fe/date_field.rb in fe-2.0.0

- old
+ new

@@ -1,10 +1,10 @@ # DateField # - a question that provides a calendar/date picker module Fe class DateField < Question - def validation_class(answer_sheet = nil) + def validation_class(answer_sheet = nil, page = nil) if self.style == 'mmyy' 'validate-selection ' + super else 'validate-date ' + super end