minor-fix qs_admin interface

This commit is contained in:
fbsanchez 2019-11-07 14:20:29 +01:00
parent 664017aa38
commit ab6e790b4e

View File

@ -312,6 +312,7 @@ function quickShellSettings()
} }
// Parser. // Parser.
if (get_parameter('qs_update', false) !== false) {
// Gotty settings. Internal communication (WS). // Gotty settings. Internal communication (WS).
$gotty = get_parameter( $gotty = get_parameter(
'gotty', 'gotty',
@ -376,6 +377,7 @@ function quickShellSettings()
$changes++; $changes++;
$critical++; $critical++;
} }
}
// Interface. // Interface.
ui_print_page_header(__('QuickShell settings')); ui_print_page_header(__('QuickShell settings'));
@ -460,6 +462,13 @@ function quickShellSettings()
'value' => io_output_password($config['gotty_pass']), 'value' => io_output_password($config['gotty_pass']),
], ],
], ],
[
'arguments' => [
'type' => 'hidden',
'name' => 'qs_update',
'value' => 1,
],
],
[ [
'arguments' => [ 'arguments' => [
'type' => 'submit', 'type' => 'submit',