diff --git a/admin-dev/themes/default/template/controllers/products/virtualproduct.tpl b/admin-dev/themes/default/template/controllers/products/virtualproduct.tpl index d4fbe1515..f78b6b3c2 100644 --- a/admin-dev/themes/default/template/controllers/products/virtualproduct.tpl +++ b/admin-dev/themes/default/template/controllers/products/virtualproduct.tpl @@ -34,6 +34,14 @@ var uploadableFileLabel = 0; var textFieldLabel = 0; + $(document).ready(function(){ + $(".datepicker").datepicker({ + prevText: '', + nextText: '', + dateFormat: 'yy-mm-dd' + }); + }); + if ($('#is_virtual_good').attr('checked')) { $('#virtual_good').show(); @@ -218,7 +226,7 @@
- {l s='Format: YYYY-MM-DD'} + {l s='Format: YYYY-MM-DD'}