Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

Improve transition generic.select list in articles overview #98

Merged
merged 1 commit into from
Sep 8, 2017
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,14 @@
<?php echo JHtml::_('grid.id', $i, $item->id); ?>
</td>
<td class="text-center">
<?php echo JHTML::_('select.genericlist', $transitions, 'transition_id[]', 'class="inputbox" size="1" onclick="event.stopPropagation()" onchange="Joomla.uncheckAll(this); Joomla.toggleOne(this, true); Joomla.submitform(\'articles . runTransition\');"', 'value', 'text', 0); ?>
<?php
$attribs = [
'id' => 'transition-select_'. (int) $item->id,
'list.attr' => [
'class' => 'custom-select',
'onchange' => "Joomla.submitform('articles.runTransition')"]
];
echo JHTML::_('select.genericlist', $transitions, 'transition_id[]', $attribs); ?>
</td>
<td class="has-context">
<div class="break-word">
Expand Down