From dbfb66363cb79af4caa7151d0cdb1ff1c42dc1d5 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 --- .../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'}