From 46d50ee5350338c6887e2110ffd8e29a320e8260 Mon Sep 17 00:00:00 2001 From: Mottie Date: Mon, 24 Aug 2015 06:40:42 -0500 Subject: [PATCH] Group: remove unused variable --- js/widgets/widget-grouping.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/widgets/widget-grouping.js b/js/widgets/widget-grouping.js index d0133dac..5d124741 100644 --- a/js/widgets/widget-grouping.js +++ b/js/widgets/widget-grouping.js @@ -55,7 +55,6 @@ update : function(table, c, wo){ if ($.isEmptyObject(c.cache)) { return; } var rowIndex, tbodyIndex, currentGroup, $rows, groupClass, grouping, norm_rows, saveName, direction, - lang = wo.grouping_language, group = '', savedGroup = false, column = c.sortList[0] ? c.sortList[0][0] : -1; @@ -98,7 +97,7 @@ if (ts.grouping.types[grouping[1]]) { currentGroup = norm_rows[rowIndex] ? ts.grouping.types[grouping[1]]( c, c.$headerIndexed[column], norm_rows[rowIndex][column], /date/.test(groupClass) ? - grouping[2] : parseInt(grouping[2] || 1, 10) || 1, group, lang ) : currentGroup; + grouping[2] : parseInt(grouping[2] || 1, 10) || 1, group ) : currentGroup; if (group !== currentGroup) { group = currentGroup; // show range if number > 1