fix js errors
This commit is contained in:
parent
84a1b37f50
commit
db36c1026b
@ -279,26 +279,8 @@ class AdminStatsLogistic extends AdminTab {
|
||||
</style>
|
||||
|
||||
<script type="text/javascript" src="'.__PS_BASE_URI__.'modules/privatesales_livestats/jquery-ui-1.8.20.custom.min.js"></script>
|
||||
<script type="text/javascript" src="'.__PS_BASE_URI__.'modules/privatesales/jquery-ui-timepicker-addon.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$("input[name=date_end], input[name=date_begin]").datepicker({
|
||||
showTime: false,
|
||||
dateFormat: "yy-mm-dd",
|
||||
formattedDate: "yy-mm-dd",
|
||||
maxDate: new Date,
|
||||
minDate: new Date(2014, 1, 1)
|
||||
});
|
||||
$("input[name=date_stock]").datepicker({
|
||||
showTime: false,
|
||||
dateFormat: "yy-mm-dd",
|
||||
formattedDate: "yy-mm-dd",
|
||||
maxDate: null,
|
||||
minDate: new Date(2014, 1, 1)
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" src="'.__PS_BASE_URI__.'modules/privatesales_livestats/jquery-ui-fr.js"></script>';
|
||||
<script type="text/javascript" src="'.__PS_BASE_URI__.'adm/helpers/includes/jquery-ui-timepicker-addon.js"></script>
|
||||
';
|
||||
|
||||
echo
|
||||
'<fieldset>
|
||||
|
Loading…
Reference in New Issue
Block a user