Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
1f45a31e
Unverified
Commit
1f45a31e
authored
Mar 02, 2021
by
robertperez-upc
Committed by
GitHub
Mar 02, 2021
Browse files
Disable reboot buttons if domain not active (#1491)
parent
01cbada8
Changes
1
Hide whitespace changes
Inline
Side-by-side
script/rvd_front
View file @
1f45a31e
...
...
@@ -2377,6 +2377,9 @@ sub _enable_buttons {
$c->stash(_shutdown_disabled => '');
$c->stash(_shutdown_disabled => 'disabled') if !$domain->is_active;
$c->stash(_reboot_disabled => '');
$c->stash(_reboot_disabled => 'disabled') if !$domain->is_active;
$c->stash(_start_disabled => '');
$c->stash(_start_disabled => 'disabled') if $domain->is_active;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment