@@ -104,8 +104,8 @@ TABS.mission_control.initialize = function (callback) {
104
104
$ ( '#infoMissionValid' ) . hide ( ) ;
105
105
$ ( '#loadMissionButton' ) . hide ( ) ;
106
106
$ ( '#saveMissionButton' ) . hide ( ) ;
107
- $ ( '#loadEepromMissionButton' ) . hide ( ) ;
108
- $ ( '#saveEepromMissionButton' ) . hide ( ) ;
107
+ // $('#loadEepromMissionButton').hide();
108
+ // $('#saveEepromMissionButton').hide();
109
109
isOffline = true ;
110
110
}
111
111
@@ -1642,24 +1642,24 @@ TABS.mission_control.initialize = function (callback) {
1642
1642
1643
1643
} ) ;
1644
1644
1645
- $ ( '#loadEepromMissionButton' ) . on ( 'click' , function ( ) {
1646
- if ( markers . length && ! confirm ( chrome . i18n . getMessage ( 'confirm_delete_all_points' ) ) ) return ;
1647
- removeAllWaypoints ( ) ;
1648
- GUI . log ( chrome . i18n . getMessage ( 'eeprom_load_ok' ) ) ;
1649
- MSP . send_message ( MSPCodes . MSP_WP_MISSION_LOAD , [ 0 ] , getWaypointsFromFC ) ;
1650
- } ) ;
1645
+ // $('#loadEepromMissionButton').on('click', function () {
1646
+ // if (markers.length && !confirm(chrome.i18n.getMessage('confirm_delete_all_points'))) return;
1647
+ // removeAllWaypoints();
1648
+ // GUI.log(chrome.i18n.getMessage('eeprom_load_ok'));
1649
+ // MSP.send_message(MSPCodes.MSP_WP_MISSION_LOAD, [0], getWaypointsFromFC);
1650
+ // });
1651
1651
1652
- $ ( '#saveEepromMissionButton' ) . on ( 'click' , function ( ) {
1653
- $ ( this ) . addClass ( 'disabled' ) ;
1654
- GUI . log ( 'Start send point' ) ;
1655
- sendWaypointsToFC ( ) ;
1656
- GUI . log ( 'End send point' ) ;
1657
- $ ( '#saveEepromMissionButton' ) . removeClass ( 'disabled' ) ;
1658
- GUI . log ( chrome . i18n . getMessage ( 'eeprom_saved_ok' ) ) ;
1659
- setTimeout ( function ( ) {
1660
- MSP . send_message ( MSPCodes . MSP_WP_MISSION_SAVE , [ 0 ] , false ) ;
1661
- } , 2000 ) ;
1662
- } ) ;
1652
+ // $('#saveEepromMissionButton').on('click', function () {
1653
+ // $(this).addClass('disabled');
1654
+ // GUI.log('Start send point');
1655
+ // sendWaypointsToFC();
1656
+ // GUI.log('End send point');
1657
+ // $('#saveEepromMissionButton').removeClass('disabled');
1658
+ // GUI.log(chrome.i18n.getMessage('eeprom_saved_ok'));
1659
+ // setTimeout(function(){
1660
+ // MSP.send_message(MSPCodes.MSP_WP_MISSION_SAVE, [0], false);
1661
+ // },2000);
1662
+ // });
1663
1663
1664
1664
/////////////////////////////////////////////
1665
1665
// Callback for settings
0 commit comments