diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt index 3ff18ce47d..3f5090118d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt @@ -160,7 +160,7 @@ var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget") } var nTrs = $('#budgeth tbody tr'); - var iColspan = nTrs[1].getElementsByTagName('td').length; + var iColspan = nTrs[0].getElementsByTagName('td').length; var sLastGroup = ""; for ( var i=0 ; i