From e42c7b2bfd2202f4fffcb02ab0d2d25136f5b17b Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 29 May 2019 13:55:06 +0300 Subject: [PATCH] [SSE mobile] Fix Bug 41677 (#178) --- apps/spreadsheeteditor/mobile/app/controller/add/AddOther.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/mobile/app/controller/add/AddOther.js b/apps/spreadsheeteditor/mobile/app/controller/add/AddOther.js index eb052fa1a..55e365117 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/add/AddOther.js +++ b/apps/spreadsheeteditor/mobile/app/controller/add/AddOther.js @@ -105,8 +105,6 @@ define([ // Handlers onInsertImage: function (args) { - SSE.getController('AddContainer').hideModal(); - if ( !args.islocal ) { var me = this; var url = args.url; @@ -124,6 +122,7 @@ define([ uiApp.alert(me.textEmptyImgUrl); } } else { + SSE.getController('AddContainer').hideModal(); this.api.asc_addImage(); } },