[SSE mobile] Fix Bug 41677 (#178)

This commit is contained in:
Julia Radzhabova 2019-05-29 13:55:06 +03:00 committed by Alexey Golubev
parent 15d72d2674
commit e42c7b2bfd

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