mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 06:15:13 +03:00
Fix closing problems dialog
call before landing page
This commit is contained in:
parent
f9235b54f7
commit
2c45c1b244
1 changed files with 3 additions and 0 deletions
|
@ -165,6 +165,9 @@ function finishClose(finishedCallback) {
|
||||||
|
|
||||||
GUI.connected_to = false;
|
GUI.connected_to = false;
|
||||||
GUI.allowedTabs = GUI.defaultAllowedTabsWhenDisconnected.slice();
|
GUI.allowedTabs = GUI.defaultAllowedTabsWhenDisconnected.slice();
|
||||||
|
// close problems dialog
|
||||||
|
$('#dialogReportProblems-closebtn').click();
|
||||||
|
|
||||||
// Reset various UI elements
|
// Reset various UI elements
|
||||||
$('span.i2c-error').text(0);
|
$('span.i2c-error').text(0);
|
||||||
$('span.cycle-time').text(0);
|
$('span.cycle-time').text(0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue