Merge pull request #1473 from jaferkhan/missing-date-fields-fix
Fixed issue of missing date fields in search forms
This commit is contained in:
commit
adf09dcd00
|
@ -20,7 +20,7 @@
|
||||||
<script th:src="@{/fa/js/all.min.js}" data-auto-replace-svg="nest"></script>
|
<script th:src="@{/fa/js/all.min.js}" data-auto-replace-svg="nest"></script>
|
||||||
|
|
||||||
<link href="css/hapi-narrative.css" rel="stylesheet"/>
|
<link href="css/hapi-narrative.css" rel="stylesheet"/>
|
||||||
<script type="text/javascript" src="js/moment.min.js"></script>
|
<script type="text/javascript" src="js/moment-with-locales.min.js"></script>
|
||||||
<link href="css/bootstrap-datetimepicker.min.css" rel="stylesheet"/>
|
<link href="css/bootstrap-datetimepicker.min.css" rel="stylesheet"/>
|
||||||
<script src="js/bootstrap-datetimepicker.min.js"></script>
|
<script src="js/bootstrap-datetimepicker.min.js"></script>
|
||||||
<link href="css/select2.css" rel="stylesheet"/>
|
<link href="css/select2.css" rel="stylesheet"/>
|
||||||
|
|
|
@ -331,8 +331,8 @@ function addSearchControlDate(theSearchParamName, theContainerRowNum, theRowNum,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
input.datetimepicker({
|
input.datetimepicker({
|
||||||
pickTime: false,
|
format: "YYYY-MM-DD",
|
||||||
showToday: true
|
showTodayButton: true
|
||||||
});
|
});
|
||||||
// Set up the qualifier dropdown after we've initialized the datepicker, since it
|
// Set up the qualifier dropdown after we've initialized the datepicker, since it
|
||||||
// overrides all addon buttons while it inits..
|
// overrides all addon buttons while it inits..
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue