From f7c92e1270e888922d96d33765cc95480f1554dc Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Sat, 25 May 2013 08:14:21 +0100 Subject: [PATCH] Dev fix: rows.add() API was trying to get the row index from the wrong parameter. - Simple fix, just had the array index in the wrong location. --- media/src/api/api.rows.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/src/api/api.rows.js b/media/src/api/api.rows.js index 7deca31b..201bbbbd 100644 --- a/media/src/api/api.rows.js +++ b/media/src/api/api.rows.js @@ -103,7 +103,7 @@ _api.register( 'rows.add()', function ( rows ) { row = rows[i]; if ( row.nodeName && row.nodeName.toUpperCase() === 'TR' ) { - out.push( _fnAddTr( settings, row ) )[0]; + out.push( _fnAddTr( settings, row )[0] ); } else { out.push( _fnAddData( settings, row ) );