Skip to content

Commit

Permalink
Use new DateField->setHTML5()
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Mar 31, 2017
1 parent b7dff27 commit 6c2871d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/Controllers/CMSMain.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,12 +432,12 @@ public function SearchForm()
'q[LastEditedFrom]',
_t('CMSSearch.FILTERDATEFROM', 'From')
);
$dateFrom->setShowCalendar(true);
$dateFrom->setHTML5(true);
$dateTo = new DateField(
'q[LastEditedTo]',
_t('CMSSearch.FILTERDATETO', 'To')
);
$dateTo->setShowCalendar(true);
$dateTo->setHTML5(true);
$pageFilter = new DropdownField(
'q[FilterClass]',
_t('CMSMain.PAGES', 'Page status'),
Expand Down

0 comments on commit 6c2871d

Please sign in to comment.