// 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">
|
<script type="text/javascript">
|
||||||
$(function() {
|
$(function() {
|
||||||
$(".datepicker").datepicker({
|
if ($(".datepicker").length > 0)
|
||||||
prevText:"",
|
$(".datepicker").datepicker({
|
||||||
nextText:""
|
prevText: '',
|
||||||
});
|
nextText: ''
|
||||||
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user