Bug 11578: (follow-up) fix JavaScript error
Fix error that can occur when using the DataTable filter to filter the table down to just one fund. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
bc57a22c46
commit
62d6b44ada
1 changed files with 1 additions and 1 deletions
|
@ -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<nTrs.length ; i++ )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue