// BugFix : js error when there is no datapicker
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9397 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -45,10 +45,11 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$(".datepicker").datepicker({
|
||||
prevText:"",
|
||||
nextText:""
|
||||
});
|
||||
if ($(".datepicker").length > 0)
|
||||
$(".datepicker").datepicker({
|
||||
prevText: '',
|
||||
nextText: ''
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user