1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00

new UI population / JS execution order

(blink bugfix for several tabs)
This commit is contained in:
cTn 2014-02-14 22:17:51 +01:00
parent d4dbb880d6
commit ce351d7521
10 changed files with 588 additions and 597 deletions

View file

@ -23,13 +23,12 @@ cli_history = new CliHistory();
function tab_initialize_cli() {
ga_tracker.sendAppView('CLI Page');
GUI.active_tab = 'cli';
$('#content').load("./tabs/cli.html", function() {
GUI.active_tab = 'cli';
// remove any active interval for delayed command
MSP.callbacks_cleanup();
// remove any active interval for delayed command
MSP.callbacks_cleanup();
$('#content').load("./tabs/cli.html", function() {
CLI_active = true;
// Enter CLI mode