1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-14 03:49:53 +03:00

adding support for connect_lock property in GUI

This commit is contained in:
cTn 2013-11-14 07:27:35 +01:00
parent b6fb43993a
commit 75ff1dcc90

View file

@ -134,6 +134,7 @@ $(document).ready(function() {
$('div#port-picker a.refresh').click();
$('div#port-picker a.connect').click(function() {
if (GUI.connect_lock != true) { // GUI control overrides the user control
var clicks = $(this).data('clicks');
selected_port = String($(port_picker).val());
@ -174,6 +175,7 @@ $(document).ready(function() {
$(this).data("clicks", !clicks);
}
}
});
});