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>
|
||||
|
||||
<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"/>
|
||||
<script src="js/bootstrap-datetimepicker.min.js"></script>
|
||||
<link href="css/select2.css" rel="stylesheet"/>
|
||||
|
|
|
@ -331,8 +331,8 @@ function addSearchControlDate(theSearchParamName, theContainerRowNum, theRowNum,
|
|||
)
|
||||
);
|
||||
input.datetimepicker({
|
||||
pickTime: false,
|
||||
showToday: true
|
||||
format: "YYYY-MM-DD",
|
||||
showTodayButton: true
|
||||
});
|
||||
// Set up the qualifier dropdown after we've initialized the datepicker, since it
|
||||
// overrides all addon buttons while it inits..
|
||||
|
@ -547,4 +547,4 @@ $( document ).ready(function() {
|
|||
if (conformance) {
|
||||
addSearchParamRow();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
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