+<script type="text/javascript">//<![CDATA[
+ {literal}
+ $('input.deathDate').change(function () {
+ $(this).addClass('sendDate');
+ });
+
+ $('#deathDateList').submit(function () {
+ // Avoid sending useless data to the webserver
+ $('input.deathDate').not('.sendDate').attr('disabled', true);
+ });
+ {/literal}
+//]]></script>
+{/if}
+
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}