Fix servos save button.

10.3.x-maintenance
Dominic Clifton 2015-11-10 01:31:04 +00:00
parent 52fd9642bd
commit 6f853cbc0a
1 changed files with 2 additions and 4 deletions

View File

@ -37,11 +37,9 @@ TABS.servos.initialize = function (callback) {
function load_html() { function load_html() {
$('#content').load("./tabs/servos.html", process_html); $('#content').load("./tabs/servos.html", process_html);
} }
MSP.send_message(MSP_codes.MSP_IDENT, false, false, get_servo_configurations); MSP.send_message(MSP_codes.MSP_IDENT, false, false, get_servo_configurations);
function update_ui() { function update_ui() {
@ -176,7 +174,7 @@ TABS.servos.initialize = function (callback) {
} }
}); });
$('a.save').click(function () { $('a.update').click(function () {
servos_update(true); servos_update(true);
}); });