From e13b485299796bd25925e3630eb60f4daa73b836 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 30 Aug 2018 17:30:38 +0300 Subject: [PATCH] [SSE] Fix Bug 38734 --- apps/spreadsheeteditor/main/app/controller/DocumentHolder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js index cb000c3ad9..dbbe4ae574 100644 --- a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js +++ b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js @@ -2034,7 +2034,7 @@ define([ if (right > width) { - showPoint[0] = leftTop.asc_getX(); + showPoint[0] = (leftTop!==undefined) ? leftTop.asc_getX() : (width-btnSize[0]-3); // leftTop is undefined when paste to text box if (bottom > height) showPoint[0] -= (btnSize[0]+3); if (showPoint[0]<0) showPoint[0] = width - 3 - btnSize[0];