From 657462c130bdf05579a4d0828292bc6195f8e4b0 Mon Sep 17 00:00:00 2001 From: Christiane Maier-Stadtherr Date: Sat, 2 Sep 2017 02:13:10 +0200 Subject: [PATCH] Fixed: id of the select list mus be unique, Improve class --- .../components/com_content/tmpl/articles/default.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/administrator/components/com_content/tmpl/articles/default.php b/administrator/components/com_content/tmpl/articles/default.php index 41d1ae5539..51460fe609 100644 --- a/administrator/components/com_content/tmpl/articles/default.php +++ b/administrator/components/com_content/tmpl/articles/default.php @@ -168,7 +168,14 @@ id); ?> - + 'transition-select_'. (int) $item->id, + 'list.attr' => [ + 'class' => 'custom-select', + 'onchange' => "Joomla.submitform('articles.runTransition')"] + ]; + echo JHTML::_('select.genericlist', $transitions, 'transition_id[]', $attribs); ?>