#issue-fix process_cancel change to seConfirm

master
Agriya Dev5 2021-01-05 12:23:01 +05:30
parent b173b6c2f7
commit a09240626d
1 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
/* globals seConfirm */
/** /**
* @file ext-imagelib.js * @file ext-imagelib.js
* *
@ -181,11 +182,11 @@ export default {
const message = uiStrings.notification.retrieving.replace('%s', name); const message = uiStrings.notification.retrieving.replace('%s', name);
if (mode !== 'm') { if (mode !== 'm') {
await $.process_cancel(message); await seConfirm(message);
transferStopped = true; transferStopped = true;
// Should a message be sent back to the frame? // Should a message be sent back to the frame?
$('#dialog_box').hide(); // $('#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);