[SSE mobile] Fix Bug 41677

This commit is contained in:
Julia Radzhabova 2019-05-28 11:35:39 +03:00
parent 0c6daea59a
commit 0fe362ed9e

View file

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