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

Commit

Permalink
Merge pull request #98 from chmst/Improve_transition_generic.select_l…
Browse files Browse the repository at this point in the history
…ist_in_articles_overview

Improve transition generic.select list in articles overview
  • Loading branch information
bembelimen authored Sep 8, 2017
2 parents 53a791e + 657462c commit 5f25a8b
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,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

0 comments on commit 5f25a8b

Please sign in to comment.