X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fgl%2Fform_header_chart_balances_js.html;h=705d8f6633137ff0fa13d33f1bd1f33a30cf35b1;hb=15e4b73285e0b4901eee0737df74f32aeca2c048;hp=3263ee7cdd5a568e102812801a849b6b849735a1;hpb=2d3f862b7af94f31860dd264eef7c1bc7de7eae2;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]); }