From bedfa57dcf66f91a4a5fa6c3d354729161db44d8 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 18 Jul 2017 15:59:14 +0300 Subject: [PATCH] [SSE][PE] Fix context menu. --- apps/presentationeditor/main/app/controller/Toolbar.js | 2 +- apps/spreadsheeteditor/main/app/controller/Toolbar.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/presentationeditor/main/app/controller/Toolbar.js b/apps/presentationeditor/main/app/controller/Toolbar.js index 7638ad82d..c03d5fe8f 100644 --- a/apps/presentationeditor/main/app/controller/Toolbar.js +++ b/apps/presentationeditor/main/app/controller/Toolbar.js @@ -333,7 +333,7 @@ define([ }, onContextMenu: function() { - this.toolbar.collapseToolbar(); + this.toolbar.collapse(); }, onApiFontSize: function(size) { diff --git a/apps/spreadsheeteditor/main/app/controller/Toolbar.js b/apps/spreadsheeteditor/main/app/controller/Toolbar.js index 77b6e7ba0..c3ffc2acc 100644 --- a/apps/spreadsheeteditor/main/app/controller/Toolbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Toolbar.js @@ -326,7 +326,7 @@ define([ // }, onContextMenu: function() { - this.toolbar.collapseToolbar(); + this.toolbar.collapse(); }, onPrint: function(e) {