Anpassung nach Update jQuery 1.9.1
authorMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 23 May 2013 09:03:58 +0000 (11:03 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 23 May 2013 09:03:58 +0000 (11:03 +0200)
templates/webpages/gl/form_header_chart_balances_js.html

index 3263ee7..705d8f6 100644 (file)
@@ -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]);
 }