Release 2.6.8
This commit is contained in:
@@ -114,6 +114,7 @@
|
||||
}
|
||||
|
||||
var selectedSlug = String(select.value || '').trim();
|
||||
var hasSelectedGroup = Boolean(selectedSlug);
|
||||
var actionTarget = '/clients/' + encodeURIComponent(selectedSlug || '__all__') + '/commands';
|
||||
var selectedName = getSelectedScreenLabel();
|
||||
var selectedClients = getSelectedScreenClients(latestDashboardState);
|
||||
@@ -134,6 +135,10 @@
|
||||
var action = String(form.getAttribute('data-screen-command-action') || '').trim();
|
||||
var button = form.querySelector('button[type="submit"]');
|
||||
|
||||
if (button) {
|
||||
button.disabled = !hasSelectedGroup;
|
||||
}
|
||||
|
||||
if (action === 'pause' || action === 'blackout') {
|
||||
updateToggleButton(button, form, latestDashboardState);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user