// Update Accounting form

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10226 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vSchoener
2011-11-17 16:38:32 +00:00
parent 4621551acf
commit e050010261
7 changed files with 33 additions and 21 deletions
@@ -40,6 +40,23 @@
});
});
$('#' + '{$defaultType}').fadeIn('fast');
$('.datepicker').each(function() {
console.log($(this));
$(this).datepicker({
prevText: '',
nextText: '',
dateFormat: 'yy-mm-dd'
});
});
$('.formAccountingExport form input[type="submit"]').each(function()
{
$(this).click(function() {
dateRegex = /^[2-9]\d{2}-\d{3}-\d{4}$/
return false;
});
});
});
</script>