From 593c8ccb223426b4cb7f3e577ae107f10405d792 Mon Sep 17 00:00:00 2001
From: juanf <juanf>
Date: Wed, 29 Oct 2014 12:26:18 +0000
Subject: [PATCH] SSDM-986 : PAPER - Refactor old tables to use the new one

SVN: 32687
---
 .../1/as/webapps/newbrowser/html/lib/grid/js/Grid.js          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/lib/grid/js/Grid.js b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/lib/grid/js/Grid.js
index c187e8b9063..70a2971df91 100644
--- a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/lib/grid/js/Grid.js
+++ b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/lib/grid/js/Grid.js
@@ -31,8 +31,8 @@ $.extend(Grid.prototype, {
 						var rowIndex = helpers.item[0].rowIndex;
 						thisGrid.notifyRowClickListeners({
 							"index" : rowIndex,
-							"data" : thisGrid.result.datas[rowIndex],
-							"item" : thisGrid.result.items[rowIndex]
+							"data" : thisGrid.result.datas[rowIndex-1],
+							"item" : thisGrid.result.items[rowIndex-1]
 						});
 					});
 
-- 
GitLab