Adjusted HW Diag main menu
This commit is contained in:
parent
5c02d74dca
commit
65284860fb
1 changed files with 3 additions and 3 deletions
|
|
@ -74,7 +74,7 @@ MENU_SETS = {
|
||||||
}
|
}
|
||||||
MENU_TOGGLES = (
|
MENU_TOGGLES = (
|
||||||
'osTicket Integration',
|
'osTicket Integration',
|
||||||
'osTicket Note (optional)',
|
'osTicket Tech Note',
|
||||||
'Skip USB Benchmarks',
|
'Skip USB Benchmarks',
|
||||||
)
|
)
|
||||||
NUM_DISK_TESTS = len([s for s in MENU_OPTIONS if s.startswith('Disk')])
|
NUM_DISK_TESTS = len([s for s in MENU_OPTIONS if s.startswith('Disk')])
|
||||||
|
|
@ -431,7 +431,7 @@ def build_menu(cli_mode=False, quick_mode=False):
|
||||||
menu.actions['Start']['Separator'] = True
|
menu.actions['Start']['Separator'] = True
|
||||||
|
|
||||||
# osTicket
|
# osTicket
|
||||||
menu.toggles['osTicket Note (optional)']['Selected'] = False
|
menu.toggles['osTicket Tech Note']['Selected'] = False
|
||||||
|
|
||||||
# Update default selections for quick mode if necessary
|
# Update default selections for quick mode if necessary
|
||||||
if quick_mode:
|
if quick_mode:
|
||||||
|
|
@ -1418,7 +1418,7 @@ def run_diags(state, menu, quick_mode=False):
|
||||||
|
|
||||||
# Add note
|
# Add note
|
||||||
if (state.ost.ticket_id
|
if (state.ost.ticket_id
|
||||||
and menu.toggles['osTicket Note (optional)']['Selected']):
|
and menu.toggles['osTicket Tech Note']['Selected']):
|
||||||
state.ost.add_note()
|
state.ost.add_note()
|
||||||
|
|
||||||
# Just return if no tests were selected
|
# Just return if no tests were selected
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue