Release of v5.1.6
This commit is contained in:
142 files changed
+3777
-2403
No files matched your search
@@ -42,7 +42,7 @@ defined('_JEXEC') or die;
|
||||
<form action="<?php echo Route::_('index.php?option=com_componentbuilder&view=pull_selection' . $urlId); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data">
|
||||
|
||||
<?php echo $this->loadTemplate('pullselectionheader'); ?>
|
||||
<?php echo $this->loadTemplate('pullselectionarea'); ?>
|
||||
<?php echo $this->loadTemplate('pullselectionareajfive'); ?>
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo Html::_('form.token'); ?>
|
||||
</form>
|
||||
|
||||
+16
-10
@@ -30,7 +30,7 @@ foreach ($repo_items as $repo)
|
||||
{
|
||||
if (!empty($repo->base) && !empty($repo->path))
|
||||
{
|
||||
$repos[] = LayoutHelper::render('reposelectioncardbody', ['repo' => $repo, 'area' => $area, 'name' => $area_name]);
|
||||
$repos[] = LayoutHelper::render('reposelectioncardbodyjfive', ['repo' => $repo, 'area' => $area, 'name' => $area_name]);
|
||||
}
|
||||
}
|
||||
// set the base URL
|
||||
@@ -41,23 +41,29 @@ $url_base = Uri::base() . 'index.php?option=com_componentbuilder';
|
||||
<script type="text/javascript">
|
||||
|
||||
// get page body
|
||||
var outerBodyDiv = document.querySelector('body');
|
||||
var outerBodyDiv = document.body || document.querySelector('body');
|
||||
|
||||
// start loading spinner
|
||||
var loadingDiv = document.createElement('div');
|
||||
loadingDiv.id = 'loading';
|
||||
|
||||
// Set CSS properties individually
|
||||
loadingDiv.style.background = "rgba(255, 255, 255, .8) url('components/com_componentbuilder/assets/images/ajax.gif') 50% 35% no-repeat";
|
||||
loadingDiv.style.top = (outerBodyDiv.getBoundingClientRect().top + window.pageYOffset) + "px";
|
||||
loadingDiv.style.left = (outerBodyDiv.getBoundingClientRect().left + window.pageXOffset) + "px";
|
||||
loadingDiv.style.width = outerBodyDiv.offsetWidth + "px";
|
||||
loadingDiv.style.height = outerBodyDiv.offsetHeight + "px";
|
||||
// Set CSS properties (robust, no calculations)
|
||||
loadingDiv.style.position = 'fixed';
|
||||
loadingDiv.style.opacity = '0.80';
|
||||
loadingDiv.style.top = '0';
|
||||
loadingDiv.style.left = '0';
|
||||
loadingDiv.style.right = '0';
|
||||
loadingDiv.style.bottom = '0';
|
||||
loadingDiv.style.width = '100%';
|
||||
loadingDiv.style.height = '100%';
|
||||
|
||||
loadingDiv.style.background = "rgba(255, 255, 255, .8) url('components/com_componentbuilder/assets/images/ajax.gif') 50% 35% no-repeat";
|
||||
loadingDiv.style.opacity = '0.8';
|
||||
loadingDiv.style.zIndex = '9999';
|
||||
loadingDiv.style.display = 'none';
|
||||
|
||||
// legacy IE fallback (safe to keep)
|
||||
loadingDiv.style.msFilter = "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
|
||||
loadingDiv.style.filter = "alpha(opacity=80)";
|
||||
loadingDiv.style.display = 'none';
|
||||
|
||||
// add to page body
|
||||
outerBodyDiv.appendChild(loadingDiv);
|
||||
Reference in new issue
Block a user