Timesheet - Fix custom date filter not showing

This commit is contained in:
nathangray 2017-02-27 11:49:41 -07:00
parent c63b2daded
commit bb4c7a8b71

View File

@ -75,7 +75,7 @@ app.classes.timesheet = AppJS.extend(
if (filter && dates) if (filter && dates)
{ {
dates.set_disabled(filter.value !== "custom"); dates.set_disabled(filter.get_value() !== "custom");
if (filter.value == "custom") if (filter.value == "custom")
{ {
jQuery(this.et2.getWidgetById('startdate').getDOMNode()).find('input').focus(); jQuery(this.et2.getWidgetById('startdate').getDOMNode()).find('input').focus();