From d3f6cc3443b96349cf492c92d507d32f8d0cb5d3 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 9 Nov 2017 11:39:11 +0300 Subject: [PATCH] [SSE] Fix Bug 36290. --- apps/common/main/lib/component/DataView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/common/main/lib/component/DataView.js b/apps/common/main/lib/component/DataView.js index 5aa890434..01c399756 100644 --- a/apps/common/main/lib/component/DataView.js +++ b/apps/common/main/lib/component/DataView.js @@ -718,10 +718,11 @@ define([ var el = $(this.dataViewItems[0].el), itemW = el.outerWidth() + parseInt(el.css('margin-left')) + parseInt(el.css('margin-right')), offsetLeft = this.$el.offset().left, + offsetTop = el.offset().top, prevtop = -1, topIdx = 0, leftIdx = 0; for (var i=0; iprevtop) { prevtop = top;