Merge pull request #58 from OptimistikSAS/issues/42
#42 When you import an image, dialog should disappear automaticallymaster
commit
5c11a9c2d8
|
@ -143,7 +143,9 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hide possible transfer dialog box
|
// Hide possible transfer dialog box
|
||||||
$('#dialog_box').hide();
|
if (document.querySelector('se-elix-alert-dialog')) {
|
||||||
|
document.querySelector('se-elix-alert-dialog').remove();
|
||||||
|
}
|
||||||
type = hasName
|
type = hasName
|
||||||
? 'meta'
|
? 'meta'
|
||||||
: response.charAt(0);
|
: response.charAt(0);
|
||||||
|
@ -184,9 +186,6 @@ export default {
|
||||||
if (mode !== 'm') {
|
if (mode !== 'm') {
|
||||||
await seConfirm(message);
|
await seConfirm(message);
|
||||||
transferStopped = true;
|
transferStopped = true;
|
||||||
// Should a message be sent back to the frame?
|
|
||||||
|
|
||||||
// $('#dialog_box').hide();
|
|
||||||
} else {
|
} else {
|
||||||
entry = $('<div>').text(message).data('id', curMeta.id);
|
entry = $('<div>').text(message).data('id', curMeta.id);
|
||||||
preview.append(entry);
|
preview.append(entry);
|
||||||
|
|
Loading…
Reference in New Issue