// Update Accounting form

This commit is contained in:
vSchoener
2011-11-17 16:38:32 +00:00
parent 13e18546de
commit f0d402bf43
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>