Skip to content
Merged
Show file tree
Hide file tree
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 @@ -210,7 +210,7 @@ protected function addToolbar()

if ($canDo->get('core.edit.state') || $canDo->get('core.execute.transition'))
{
$dropdown = $toolbar->dropdownButton('group')
$dropdown = $toolbar->dropdownButton('status-group')
->text('JTOOLBAR_CHANGE_STATUS')
->toggleSplit(false)
->icon('fa fa-globe')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
background-color: theme-color("danger");
}

.btn-info + .dropdown-menu & {
.btn-info + .dropdown-menu & ,
.dropdown-status-group .dropdown-menu & {
background-color: theme-color("info");
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'use strict';

document.addEventListener('DOMContentLoaded', () => {
const dropDownBtn = document.getElementById('toolbar-dropdown-group');
const dropDownBtn = document.getElementById('toolbar-dropdown-status-group');
const publishBtn = dropDownBtn.getElementsByClassName('button-publish')[0];
const unpublishBtn = dropDownBtn.getElementsByClassName('button-unpublish')[0];
const archiveBtn = dropDownBtn.getElementsByClassName('button-archive')[0];
Expand Down Expand Up @@ -89,7 +89,6 @@

const articles = Joomla.getOptions('articles.items');
let html = '';

Object.keys(availableTrans).forEach((id) => {
if (articles[`article-${id}`] !== undefined) {
html += '<div class="form-group col-md-6">';
Expand Down