Skip to content

Commit

Permalink
Fix closing problems dialog
Browse files Browse the repository at this point in the history
call before landing page
  • Loading branch information
asizon committed Apr 23, 2020
1 parent f9235b5 commit 2c45c1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/js/serial_backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ function finishClose(finishedCallback) {

GUI.connected_to = false;
GUI.allowedTabs = GUI.defaultAllowedTabsWhenDisconnected.slice();
// close problems dialog
$('#dialogReportProblems-closebtn').click();

// Reset various UI elements
$('span.i2c-error').text(0);
$('span.cycle-time').text(0);
Expand Down

0 comments on commit 2c45c1b

Please sign in to comment.