mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-12-26 10:07:30 +00:00
Fix batch action + minor cleanup
This commit is contained in:
parent
ddb6bf3c91
commit
1bc0b8ea82
@ -9,10 +9,11 @@
|
|||||||
defined('_JEXEC') or die;
|
defined('_JEXEC') or die;
|
||||||
|
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
|
||||||
<?php echo Text::_('JCANCEL'); ?>
|
<?php echo Text::_('JCANCEL'); ?>
|
||||||
</button>
|
</button>
|
||||||
<button type="submit" id='batch-submit-button-id' class="btn btn-success" data-submit-task='weblink.batch'>
|
<button type="submit" id='batch-submit-button-id' class="btn btn-success" onclick="Joomla.submitbutton('weblink.batch');return false;">
|
||||||
<?php echo Text::_('JGLOBAL_BATCH_PROCESS'); ?>
|
<?php echo Text::_('JGLOBAL_BATCH_PROCESS'); ?>
|
||||||
</button>
|
</button>
|
||||||
|
@ -27,8 +27,7 @@ if ($app->isClient('site'))
|
|||||||
|
|
||||||
HTMLHelper::_('behavior.multiselect');
|
HTMLHelper::_('behavior.multiselect');
|
||||||
|
|
||||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
$this->document->getWebAssetManager()
|
||||||
$wa = $this->document->getWebAssetManager()
|
|
||||||
->registerAndUseScript('com_weblinks.admin-weblinks-modal', 'media/com_weblinks/js/admin-weblinks-modal.js', [], ['defer' => true], ['core']);
|
->registerAndUseScript('com_weblinks.admin-weblinks-modal', 'media/com_weblinks/js/admin-weblinks-modal.js', [], ['defer' => true], ['core']);
|
||||||
|
|
||||||
$function = $app->input->getCmd('function', 'jSelectWeblink');
|
$function = $app->input->getCmd('function', 'jSelectWeblink');
|
||||||
|
Loading…
Reference in New Issue
Block a user