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(); } },