]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/part/_multi_items_dialog.html
jQuery-resetForm() anstelle von selbst geschriebenem Reset-Code nutzen
[mfinanz.git] / templates / webpages / part / _multi_items_dialog.html
index 02bf33ae9f8ebb6e54dc9706506df68cab223748..f04012f3202cad610098f3095bc89af253c3f538 100644 (file)
@@ -14,7 +14,7 @@
 </table>
 
 [% L.button_tag('update_result()', LxERP.t8('Filter')) %]
-<a href='#' onClick='javascript:$("#multi_items_filter_table input").val("");$("#multi_items_filter_table input[type=checkbox]").prop("checked", 0);$("#multi_items_filter_table select").prop("selectedIndex", 0);'>[% 'Reset' | $T8 %]</a>
+[% L.button_tag('$("#multi_items_form").resetForm()', LxERP.t8('Reset')) %]
 
 <hr>
 <div id='multi_items_result'></div>