source: main/waeup.kofa/trunk/layout/static/js/kofa-button-rowadd.js @ 11492

Last change on this file since 11492 was 11254, checked in by uli, 11 years ago

Merge changes from uli-diazo-themed back into trunk. If this works, then a miracle happened.

File size: 252 bytes
Line 
1$("button.rowadd").click(function (evt) {
2   /* Do not submit the form really */
3   evt.preventDefault();
4   /* Add first .form-field after last .form-field... */
5   $(".variable-form:last").after($(".variable-form:first").clone().hide().fadeIn());
6});
Note: See TracBrowser for help on using the repository browser.