mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-16 04:45:18 +03:00
adding missing GUI unlock/cleanup on error
This commit is contained in:
parent
1e15e611a5
commit
e9879ea545
1 changed files with 3 additions and 0 deletions
|
@ -220,6 +220,9 @@ function onOpen(openInfo) {
|
|||
$('div#port-picker a.connect').text('Connect');
|
||||
$('div#port-picker a.connect').removeClass('active');
|
||||
|
||||
// unlock port select & baud
|
||||
$('div#port-picker #port, div#port-picker #baud, div#port-picker #delay').prop('disabled', false);
|
||||
|
||||
// reset data
|
||||
$('div#port-picker a.connect').data("clicks", false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue