bugfix for tab inner re-initialization

pull/3/head
cTn 11 years ago
parent 8686a45831
commit 430d366c8f

@ -136,9 +136,11 @@ function tab_initialize_initial_setup() {
send_message(MSP_codes.MSP_RESET_CONF, MSP_codes.MSP_RESET_CONF, false, function() {
GUI.log('Settings restored to <strong>default</strong>');
GUI.tab_switch_cleanup(function() {
tab_initialize_initial_setup();
});
});
});
$('a.update').click(function() {

@ -144,8 +144,12 @@ function tab_initialize_pid_tuning() {
// UI Hooks
$('a.refresh').click(function() {
GUI.tab_switch_cleanup(function() {
GUI.log('PID data <strong>refreshed</strong>');
tab_initialize_pid_tuning();
});
});
$('a.update').click(function() {
// Catch all the changes and stuff the inside PIDs array

Loading…
Cancel
Save