32
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-12-26 18:10:11 +00:00

changes as desired

This commit is contained in:
chmst 2021-07-26 18:19:05 +02:00
parent 5a2d9859f8
commit 3b0edd7d49
2 changed files with 4 additions and 5 deletions

View File

@ -22,14 +22,14 @@ $published = $this->state->get('filter.published');
<?php echo LayoutHelper::render('joomla.html.batch.language', []); ?>
</div>
</div>
<?php endif;?>
<?php endif; ?>
<div class="form-group col-md-6">
<div class="controls">
<?php echo LayoutHelper::render('joomla.html.batch.access', []); ?>
</div>
</div>
</div>
<div class="row-fluid">
<div class="row">
<?php if ($published >= 0) : ?>
<div class="form-group col-md-6">
<div class="controls">

View File

@ -28,9 +28,8 @@ if ($app->isClient('site'))
HTMLHelper::_('behavior.multiselect');
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
$wa = $this->document->getWebAssetManager();
$wa->useScript('core')
->useScript('com_weblinks.admin-weblinks-modal');
$wa = $this->document->getWebAssetManager()
->registerAndUseScript('com_weblinks.admin-weblinks-modal', 'media/com_weblinks/js/admin-weblinks-modal.js', [], ['defer' => true], ['core']);
$function = $app->input->getCmd('function', 'jSelectWeblink');
$editor = $app->input->getCmd('editor', '');