Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
adantsou committed Dec 29, 2021
2 parents 54edcdf + 449d5a4 commit 64f07a4
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
function getBaseDialog() {
if (!baseDialog) {
baseDialog = new Coral.Dialog().set({
backdrop: Coral.Dialog.backdrop.MODAL,
interaction: 'off',
closable: 'on'
backdrop: Coral.Dialog.backdrop.STATIC,
interaction: 'off'
}).on('coral-overlay:close', function (e) {
baseDialog.classList.remove(LOGGER_DIALOG_CLASS);
e.target.remove();
});
baseDialog.classList.add(BASE_DIALOG_CLASS);
}
baseDialog.closable = 'on';
return baseDialog;
}

Expand All @@ -47,6 +47,7 @@
const FINISHED_LABEL = Granite.I18n.get('Rollout');

function loggerDialogFinished(dialog, selectedPath, processingLabel) {
dialog.closable = 'on';
dialog.header.textContent = `${FINISHED_LABEL} ${selectedPath}`;
processingLabel.remove();

Expand Down Expand Up @@ -83,6 +84,7 @@
dialog.footer.innerHTML = '';
dialog.content.innerHTML = '';
dialog.classList.add(LOGGER_DIALOG_CLASS);
dialog.closable = 'off';

const processingLabel = document.createElement('p');
processingLabel.textContent = processingMsg;
Expand Down

0 comments on commit 64f07a4

Please sign in to comment.