From c67749be7caba7b115148081d6d16f4b6b806abb Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Fri, 10 Feb 2012 16:38:01 +0000 Subject: [PATCH] [-] BO : fix #PSTEST-703 - missing datepicker git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13234 b9a71923-0436-4b27-9f14-aed3839534dd --- .../template/controllers/products/virtualproduct.tpl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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='Expiration date'} - {l s='Format: YYYY-MM-DD'} + {l s='Format: YYYY-MM-DD'} {l s='No expiration date if you leave this blank'}