X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fgl%2Fform_header_chart_balances_js.html;h=705d8f6633137ff0fa13d33f1bd1f33a30cf35b1;hb=b8f55e8877f21109656935d04f772099baa6f26f;hp=3263ee7cdd5a568e102812801a849b6b849735a1;hpb=b61f5c3df68e3a3b4fb6a8a287172b0989215748;p=kivitendo-erp.git diff --git a/templates/webpages/gl/form_header_chart_balances_js.html b/templates/webpages/gl/form_header_chart_balances_js.html index 3263ee7cd..705d8f663 100644 --- a/templates/webpages/gl/form_header_chart_balances_js.html +++ b/templates/webpages/gl/form_header_chart_balances_js.html @@ -12,7 +12,7 @@ chart_balances[[% loop.count - 1 %]] = '[% JavaScript.escape(LxERP.format_amount function show_chart_balance(obj) { var row = $(obj).attr('name').replace(/.*_/, ''); - var idx = $('#accno_' + row).attr('selectedIndex'); + var idx = $('#accno_' + row).prop('selectedIndex'); $('#chart_balance_' + row).html(chart_balances[idx]); }