Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion administrator/templates/atum/scss/template.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@
// Quickicon specific
.message-alert {
text-align: right !important;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
}

show() {
this.querySelector('[role="dialog"]').open();
$('#' + this.querySelector('[role="dialog"]').id).modal('show');

this.querySelector(this.buttonSaveSelected).addEventListener('click', this.onSelected);
}
Expand All @@ -194,7 +194,7 @@
const input = this.querySelector(this.input);
Joomla.getImage(Joomla.selectedFile, input, this);

Joomla.Modal.getCurrent().close();
$('#' + $('.modal.fade.in')[0].getAttribute('id')).modal('hide');
}

setValue(value) {
Expand Down
3 changes: 3 additions & 0 deletions layouts/joomla/modal/body.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

defined('JPATH_BASE') or die;

use Joomla\CMS\Layout\LayoutHelper;

extract($displayData);

/**
Expand Down Expand Up @@ -42,5 +44,6 @@
}
?>
<div class="<?php echo $bodyClass; ?>">
<?php echo LayoutHelper::render('joomla.modal.iframe', $displayData); ?>
<?php echo $body; ?>
</div>