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 Apr 3, 2017
1 parent b7dff27 commit d07115e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions code/Controllers/CMSMain.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,12 +432,10 @@ public function SearchForm()
'q[LastEditedFrom]',
_t('CMSSearch.FILTERDATEFROM', 'From')
);
$dateFrom->setShowCalendar(true);
$dateTo = new DateField(
'q[LastEditedTo]',
_t('CMSSearch.FILTERDATETO', 'To')
);
$dateTo->setShowCalendar(true);
$pageFilter = new DropdownField(
'q[FilterClass]',
_t('CMSMain.PAGES', 'Page status'),
Expand Down

0 comments on commit d07115e

Please sign in to comment.