From 9d8562e3c865a9947830b90d84fd1a8d32b533c8 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 23 May 2013 10:14:11 +0200 Subject: [PATCH] Fix description of fnDataUpdate plug-in method. --- api/fnDataUpdate.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/fnDataUpdate.js b/api/fnDataUpdate.js index 7fdd509..1b06a2b 100644 --- a/api/fnDataUpdate.js +++ b/api/fnDataUpdate.js @@ -1,8 +1,8 @@ /** * Update the internal data for a TR element based on what is used in the * DOM. You will likely want to call fnDraw() after this function. - * @name fnColumnIndexToVisible - * @anchor fnColumnIndexToVisible + * @name fnDataUpdate + * @anchor fnDataUpdate * @author Lior Gerson * * @example @@ -12,7 +12,7 @@ $.fn.dataTableExt.oApi.fnDataUpdate = function ( oSettings, nRowObject, iRowIndex ) { $(nRowObject).find("TD").each( function(i) { - var iColIndex = oSettings.oApi._fnVisibleToColumnIndex( oSettings, i ); - oSettings.oApi._fnSetCellData( oSettings, iRowIndex, iColIndex, $(this).html() ); + var iColIndex = oSettings.oApi._fnVisibleToColumnIndex( oSettings, i ); + oSettings.oApi._fnSetCellData( oSettings, iRowIndex, iColIndex, $(this).html() ); } ); };