disable stats
parent
640bd8792b
commit
cbb7122336
|
@ -14,10 +14,6 @@ function startApplication() {
|
|||
minHeight: 550
|
||||
}
|
||||
}, function (createdWindow) {
|
||||
createdWindow.contentWindow.addEventListener('load', function () {
|
||||
createdWindow.contentWindow.catch_startup_time(applicationStartTime);
|
||||
});
|
||||
|
||||
createdWindow.onClosed.addListener(function () {
|
||||
// automatically close the port when application closes
|
||||
// save connectionId in separate variable before createdWindow.contentWindow is destroyed
|
||||
|
@ -113,4 +109,4 @@ chrome.notifications.onButtonClicked.addListener(function (notificationId, butto
|
|||
if (notificationId == 'baseflight_update') {
|
||||
startApplication();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
@ -163,8 +163,6 @@ STM32_protocol.prototype.initialize = function () {
|
|||
$('span.progressLabel').text('STM32 - timed out, programming: FAILED');
|
||||
self.progress_bar_e.addClass('invalid');
|
||||
|
||||
googleAnalytics.sendEvent('Flashing', 'Programming', 'timeout');
|
||||
|
||||
// protocol got stuck, clear timer and disconnect
|
||||
GUI.interval_remove('STM32_timeout');
|
||||
|
||||
|
@ -700,7 +698,6 @@ STM32_protocol.prototype.upload_procedure = function (step) {
|
|||
if (verify) {
|
||||
console.log('Programming: SUCCESSFUL');
|
||||
$('span.progressLabel').text('Programming: SUCCESSFUL');
|
||||
googleAnalytics.sendEvent('Flashing', 'Programming', 'success');
|
||||
|
||||
// update progress bar
|
||||
self.progress_bar_e.addClass('valid');
|
||||
|
@ -710,7 +707,6 @@ STM32_protocol.prototype.upload_procedure = function (step) {
|
|||
} else {
|
||||
console.log('Programming: FAILED');
|
||||
$('span.progressLabel').text('Programming: FAILED');
|
||||
googleAnalytics.sendEvent('Flashing', 'Programming', 'fail');
|
||||
|
||||
// update progress bar
|
||||
self.progress_bar_e.addClass('invalid');
|
||||
|
@ -771,4 +767,4 @@ STM32_protocol.prototype.upload_procedure = function (step) {
|
|||
};
|
||||
|
||||
// initialize object
|
||||
var STM32 = new STM32_protocol();
|
||||
var STM32 = new STM32_protocol();
|
||||
|
|
|
@ -714,7 +714,6 @@ STM32DFU_protocol.prototype.upload_procedure = function (step) {
|
|||
if (verify) {
|
||||
console.log('Programming: SUCCESSFUL');
|
||||
$('span.progressLabel').text('Programming: SUCCESSFUL');
|
||||
googleAnalytics.sendEvent('Flashing', 'Programming', 'success');
|
||||
|
||||
// update progress bar
|
||||
self.progress_bar_e.addClass('valid');
|
||||
|
@ -724,7 +723,6 @@ STM32DFU_protocol.prototype.upload_procedure = function (step) {
|
|||
} else {
|
||||
console.log('Programming: FAILED');
|
||||
$('span.progressLabel').text('Programming: FAILED');
|
||||
googleAnalytics.sendEvent('Flashing', 'Programming', 'fail');
|
||||
|
||||
// update progress bar
|
||||
self.progress_bar_e.addClass('invalid');
|
||||
|
@ -769,4 +767,4 @@ STM32DFU_protocol.prototype.upload_procedure = function (step) {
|
|||
};
|
||||
|
||||
// initialize object
|
||||
var STM32DFU = new STM32DFU_protocol();
|
||||
var STM32DFU = new STM32DFU_protocol();
|
||||
|
|
|
@ -35,7 +35,6 @@ var serial = {
|
|||
|
||||
self.onReceiveError.addListener(function watch_for_on_receive_errors(info) {
|
||||
console.error(info);
|
||||
googleAnalytics.sendException('Serial: ' + info.error, false);
|
||||
|
||||
switch (info.error) {
|
||||
case 'system_error': // we might be able to recover from this one
|
||||
|
@ -45,13 +44,11 @@ var serial = {
|
|||
if (info) {
|
||||
if (!info.paused) {
|
||||
console.log('SERIAL: Connection recovered from last onReceiveError');
|
||||
googleAnalytics.sendException('Serial: onReceiveError - recovered', false);
|
||||
|
||||
self.failed = 0;
|
||||
} else {
|
||||
console.log('SERIAL: Connection did not recover from last onReceiveError, disconnecting');
|
||||
GUI.log('Unrecoverable <span style="color: red">failure</span> of serial connection, disconnecting...');
|
||||
googleAnalytics.sendException('Serial: onReceiveError - unrecoverable', false);
|
||||
|
||||
if (GUI.connected_to || GUI.connecting_to) {
|
||||
$('a.connect').click();
|
||||
|
@ -82,7 +79,6 @@ var serial = {
|
|||
// assume unrecoverable, disconnect
|
||||
console.log('SERIAL: Connection did not recover from ' + self.error + ' condition, disconnecting');
|
||||
GUI.log('Unrecoverable <span style="color: red">failure</span> of serial connection, disconnecting...');
|
||||
googleAnalytics.sendException('Serial: ' + self.error + ' - unrecoverable', false);
|
||||
|
||||
if (GUI.connected_to || GUI.connecting_to) {
|
||||
$('a.connect').click();
|
||||
|
@ -92,7 +88,6 @@ var serial = {
|
|||
}
|
||||
else {
|
||||
console.log('SERIAL: Connection recovered from ' + self.error + ' condition');
|
||||
googleAnalytics.sendException('Serial: ' + self.error + ' - recovered', false);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -144,7 +139,6 @@ var serial = {
|
|||
} else {
|
||||
self.openRequested = false;
|
||||
console.log('SERIAL: Failed to open serial port');
|
||||
googleAnalytics.sendException('Serial: FailedToOpen', false);
|
||||
if (callback) callback(false);
|
||||
}
|
||||
});
|
||||
|
@ -173,7 +167,6 @@ var serial = {
|
|||
console.log('SERIAL: Connection with ID: ' + self.connectionId + ' closed, Sent: ' + self.bytesSent + ' bytes, Received: ' + self.bytesReceived + ' bytes');
|
||||
} else {
|
||||
console.log('SERIAL: Failed to close connection with ID: ' + self.connectionId + ' closed, Sent: ' + self.bytesSent + ' bytes, Received: ' + self.bytesReceived + ' bytes');
|
||||
googleAnalytics.sendException('Serial: FailedToClose', false);
|
||||
}
|
||||
|
||||
self.connectionId = false;
|
||||
|
@ -291,4 +284,4 @@ var serial = {
|
|||
this.outputBuffer = [];
|
||||
this.transmitting = false;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
|
@ -190,17 +190,14 @@ function onOpen(openInfo) {
|
|||
|
||||
MSP.send_message(MSP_codes.MSP_FC_VERSION, false, false, function () {
|
||||
|
||||
googleAnalytics.sendEvent('Firmware', 'Variant', CONFIG.flightControllerIdentifier + ',' + CONFIG.flightControllerVersion);
|
||||
GUI.log(chrome.i18n.getMessage('fcInfoReceived', [CONFIG.flightControllerIdentifier, CONFIG.flightControllerVersion]));
|
||||
|
||||
MSP.send_message(MSP_codes.MSP_BUILD_INFO, false, false, function () {
|
||||
|
||||
googleAnalytics.sendEvent('Firmware', 'Using', CONFIG.buildInfo);
|
||||
GUI.log(chrome.i18n.getMessage('buildInfoReceived', [CONFIG.buildInfo]));
|
||||
|
||||
MSP.send_message(MSP_codes.MSP_BOARD_INFO, false, false, function () {
|
||||
|
||||
googleAnalytics.sendEvent('Board', 'Using', CONFIG.boardIdentifier + ',' + CONFIG.boardVersion);
|
||||
GUI.log(chrome.i18n.getMessage('boardInfoReceived', [CONFIG.boardIdentifier, CONFIG.boardVersion]));
|
||||
|
||||
MSP.send_message(MSP_codes.MSP_UID, false, false, function () {
|
||||
|
|
40
main.js
40
main.js
|
@ -1,13 +1,5 @@
|
|||
'use strict';
|
||||
|
||||
// Google Analytics
|
||||
var googleAnalyticsService = analytics.getService('ice_cream_app');
|
||||
var googleAnalytics = googleAnalyticsService.getTracker(atob("VUEtNTI4MjA5MjAtMQ=="));
|
||||
var googleAnalyticsConfig = false;
|
||||
googleAnalyticsService.getConfig().addCallback(function (config) {
|
||||
googleAnalyticsConfig = config;
|
||||
});
|
||||
|
||||
$(document).ready(function () {
|
||||
// translate to user-selected language
|
||||
localize();
|
||||
|
@ -54,11 +46,6 @@ $(document).ready(function () {
|
|||
// it would seem the webgl "enabling" through advanced settings will be ignored in the future
|
||||
// and webgl will be supported if gpu supports it by default (canary 40.0.2175.0), keep an eye on this one
|
||||
var canvas = document.createElement('canvas');
|
||||
if (window.WebGLRenderingContext && (canvas.getContext('webgl') || canvas.getContext('experimental-webgl'))) {
|
||||
googleAnalytics.sendEvent('Capability', 'WebGL', 'true');
|
||||
} else {
|
||||
googleAnalytics.sendEvent('Capability', 'WebGL', 'false');
|
||||
}
|
||||
|
||||
// log library versions in console to make version tracking easier
|
||||
console.log('Libraries: jQuery - ' + $.fn.jquery + ', d3 - ' + d3.version + ', three.js - ' + THREE.REVISION);
|
||||
|
@ -194,8 +181,6 @@ $(document).ready(function () {
|
|||
el.after('<div id="options-window"></div>');
|
||||
|
||||
$('div#options-window').load('./tabs/options.html', function () {
|
||||
googleAnalytics.sendAppView('Options');
|
||||
|
||||
// translate to user-selected language
|
||||
localize();
|
||||
|
||||
|
@ -208,21 +193,17 @@ $(document).ready(function () {
|
|||
|
||||
$('div.notifications input').change(function () {
|
||||
var check = $(this).is(':checked');
|
||||
googleAnalytics.sendEvent('Settings', 'Notifications', check);
|
||||
|
||||
chrome.storage.local.set({'update_notify': check});
|
||||
});
|
||||
|
||||
// if tracking is enabled, check the statistics checkbox
|
||||
if (googleAnalyticsConfig.isTrackingPermitted()) {
|
||||
$('div.statistics input').prop('checked', true);
|
||||
}
|
||||
|
||||
$('div.statistics input').change(function () {
|
||||
var check = $(this).is(':checked');
|
||||
googleAnalytics.sendEvent('Settings', 'GoogleAnalytics', check);
|
||||
googleAnalyticsConfig.setTrackingPermitted(check);
|
||||
});
|
||||
//if (googleAnalyticsConfig.isTrackingPermitted()) {
|
||||
// $('div.statistics input').prop('checked', false);
|
||||
//}
|
||||
//$('div.statistics input').change(function () {
|
||||
// var check = $(this).is(':checked');
|
||||
//});
|
||||
|
||||
function close_and_cleanup(e) {
|
||||
if (e.type == 'click' && !$.contains($('div#options-window')[0], e.target) || e.type == 'keyup' && e.keyCode == 27) {
|
||||
|
@ -357,13 +338,6 @@ $(document).ready(function () {
|
|||
});
|
||||
});
|
||||
|
||||
function catch_startup_time(startTime) {
|
||||
var endTime = new Date().getTime(),
|
||||
timeSpent = endTime - startTime;
|
||||
|
||||
googleAnalytics.sendTiming('Load Times', 'Application Startup', timeSpent);
|
||||
}
|
||||
|
||||
function microtime() {
|
||||
var now = new Date().getTime() / 1000;
|
||||
|
||||
|
@ -416,4 +390,4 @@ function updateActivatedTab() {
|
|||
var activeTab = $('#tabs > ul li.active');
|
||||
activeTab.removeClass('active');
|
||||
$('a', activeTab).trigger('click');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
},
|
||||
|
||||
"permissions": [
|
||||
"https://www.google-analytics.com/",
|
||||
"https://maps.googleapis.com/*",
|
||||
"https://*.github.com/",
|
||||
"https://*.githubusercontent.com/",
|
||||
|
|
|
@ -5,7 +5,6 @@ TABS.adjustments = {};
|
|||
TABS.adjustments.initialize = function (callback) {
|
||||
GUI.active_tab_ref = this;
|
||||
GUI.active_tab = 'adjustments';
|
||||
googleAnalytics.sendAppView('Adjustments');
|
||||
|
||||
function get_adjustment_ranges() {
|
||||
MSP.send_message(MSP_codes.MSP_ADJUSTMENT_RANGES, false, false, get_box_ids);
|
||||
|
@ -287,4 +286,4 @@ TABS.adjustments.initialize = function (callback) {
|
|||
|
||||
TABS.adjustments.cleanup = function (callback) {
|
||||
if (callback) callback();
|
||||
};
|
||||
};
|
||||
|
|
|
@ -5,7 +5,6 @@ TABS.auxiliary = {};
|
|||
TABS.auxiliary.initialize = function (callback) {
|
||||
GUI.active_tab_ref = this;
|
||||
GUI.active_tab = 'auxiliary';
|
||||
googleAnalytics.sendAppView('Auxiliary');
|
||||
|
||||
function get_mode_ranges() {
|
||||
MSP.send_message(MSP_codes.MSP_MODE_RANGES, false, false, get_box_ids);
|
||||
|
@ -290,4 +289,4 @@ TABS.auxiliary.initialize = function (callback) {
|
|||
|
||||
TABS.auxiliary.cleanup = function (callback) {
|
||||
if (callback) callback();
|
||||
};
|
||||
};
|
||||
|
|
|
@ -11,7 +11,6 @@ TABS.cli.initialize = function (callback) {
|
|||
|
||||
if (GUI.active_tab != 'cli') {
|
||||
GUI.active_tab = 'cli';
|
||||
googleAnalytics.sendAppView('CLI');
|
||||
}
|
||||
|
||||
$('#content').load("./tabs/cli.html", function () {
|
||||
|
|
|
@ -7,7 +7,6 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
|||
|
||||
if (GUI.active_tab != 'configuration') {
|
||||
GUI.active_tab = 'configuration';
|
||||
googleAnalytics.sendAppView('Configuration');
|
||||
}
|
||||
|
||||
function load_config() {
|
||||
|
@ -500,19 +499,6 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
|||
SENSOR_ALIGNMENT.align_acc = parseInt(orientation_acc_e.val());
|
||||
SENSOR_ALIGNMENT.align_mag = parseInt(orientation_mag_e.val());
|
||||
|
||||
// track feature usage
|
||||
if (isFeatureEnabled('RX_SERIAL')) {
|
||||
googleAnalytics.sendEvent('Setting', 'SerialRxProvider', serialRXtypes[BF_CONFIG.serialrx_type]);
|
||||
}
|
||||
|
||||
for (var i = 0; i < features.length; i++) {
|
||||
var featureName = features[i].name;
|
||||
if (isFeatureEnabled(featureName)) {
|
||||
googleAnalytics.sendEvent('Setting', 'Feature', featureName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function save_serial_config() {
|
||||
if (semver.lt(CONFIG.apiVersion, "1.6.0")) {
|
||||
MSP.send_message(MSP_codes.MSP_SET_CF_SERIAL_CONFIG, MSP.crunch(MSP_codes.MSP_SET_CF_SERIAL_CONFIG), false, save_misc);
|
||||
|
|
|
@ -7,7 +7,6 @@ TABS.failsafe.initialize = function (callback, scrollPosition) {
|
|||
|
||||
if (GUI.active_tab != 'failsafe') {
|
||||
GUI.active_tab = 'failsafe';
|
||||
googleAnalytics.sendAppView('Failsafe');
|
||||
}
|
||||
|
||||
function load_rx_config() {
|
||||
|
|
|
@ -6,7 +6,6 @@ TABS.firmware_flasher.initialize = function (callback) {
|
|||
|
||||
if (GUI.active_tab != 'firmware_flasher') {
|
||||
GUI.active_tab = 'firmware_flasher';
|
||||
googleAnalytics.sendAppView('Firmware Flasher');
|
||||
}
|
||||
|
||||
|
||||
|
@ -194,7 +193,6 @@ TABS.firmware_flasher.initialize = function (callback) {
|
|||
parsed_hex = data;
|
||||
|
||||
if (parsed_hex) {
|
||||
googleAnalytics.sendEvent('Flashing', 'Firmware', 'local');
|
||||
$('a.flash_firmware').removeClass('disabled');
|
||||
|
||||
$('span.progressLabel').text('Loaded Local Firmware: (' + parsed_hex.bytes_total + ' bytes)');
|
||||
|
@ -239,7 +237,6 @@ TABS.firmware_flasher.initialize = function (callback) {
|
|||
if (parsed_hex) {
|
||||
var url;
|
||||
|
||||
googleAnalytics.sendEvent('Flashing', 'Firmware', 'online');
|
||||
$('span.progressLabel').html('<a class="save_firmware" href="#" title="Save Firmware">Loaded Online Firmware: (' + parsed_hex.bytes_total + ' bytes)</a>');
|
||||
|
||||
$('a.flash_firmware').removeClass('disabled');
|
||||
|
|
|
@ -6,7 +6,6 @@ TABS.gps.initialize = function (callback) {
|
|||
|
||||
if (GUI.active_tab != 'gps') {
|
||||
GUI.active_tab = 'gps';
|
||||
googleAnalytics.sendAppView('GPS');
|
||||
}
|
||||
|
||||
function load_html() {
|
||||
|
@ -156,4 +155,4 @@ TABS.gps.initialize = function (callback) {
|
|||
|
||||
TABS.gps.cleanup = function (callback) {
|
||||
if (callback) callback();
|
||||
};
|
||||
};
|
||||
|
|
|
@ -6,7 +6,6 @@ TABS.help.initialize = function (callback) {
|
|||
|
||||
if (GUI.active_tab != 'help') {
|
||||
GUI.active_tab = 'help';
|
||||
googleAnalytics.sendAppView('help');
|
||||
}
|
||||
|
||||
$('#content').load("./tabs/help.html", function () {
|
||||
|
@ -18,4 +17,4 @@ TABS.help.initialize = function (callback) {
|
|||
|
||||
TABS.help.cleanup = function (callback) {
|
||||
if (callback) callback();
|
||||
};
|
||||
};
|
||||
|
|
|
@ -6,7 +6,6 @@ TABS.landing.initialize = function (callback) {
|
|||
|
||||
if (GUI.active_tab != 'landing') {
|
||||
GUI.active_tab = 'landing';
|
||||
googleAnalytics.sendAppView('Landing');
|
||||
}
|
||||
|
||||
$('#content').load("./tabs/landing.html", function () {
|
||||
|
@ -16,10 +15,6 @@ TABS.landing.initialize = function (callback) {
|
|||
// load changelog content
|
||||
$('#changelog .log').load('./changelog.html');
|
||||
|
||||
$('div.welcome a, div.sponsors a').click(function () {
|
||||
googleAnalytics.sendEvent('ExternalUrls', 'Click', $(this).prop('href'));
|
||||
});
|
||||
|
||||
/** changelog trigger **/
|
||||
$("#changelog_toggle").on('click', function() {
|
||||
var state = $(this).data('state2');
|
||||
|
|
|
@ -13,7 +13,6 @@ TABS.led_strip.initialize = function (callback, scrollPosition) {
|
|||
|
||||
if (GUI.active_tab != 'led_strip') {
|
||||
GUI.active_tab = 'led_strip';
|
||||
googleAnalytics.sendAppView('LED Strip');
|
||||
}
|
||||
|
||||
function load_led_config() {
|
||||
|
|
|
@ -6,7 +6,6 @@ TABS.logging.initialize = function (callback) {
|
|||
|
||||
if (GUI.active_tab != 'logging') {
|
||||
GUI.active_tab = 'logging';
|
||||
googleAnalytics.sendAppView('Logging');
|
||||
}
|
||||
|
||||
var requested_properties = [],
|
||||
|
@ -310,4 +309,4 @@ TABS.logging.initialize = function (callback) {
|
|||
|
||||
TABS.logging.cleanup = function (callback) {
|
||||
if (callback) callback();
|
||||
};
|
||||
};
|
||||
|
|
|
@ -8,7 +8,6 @@ TABS.modes.initialize = function (callback) {
|
|||
|
||||
if (GUI.active_tab != 'modes') {
|
||||
GUI.active_tab = 'modes';
|
||||
googleAnalytics.sendAppView('Modes');
|
||||
}
|
||||
|
||||
function get_box_data() {
|
||||
|
@ -155,4 +154,4 @@ TABS.modes.initialize = function (callback) {
|
|||
|
||||
TABS.modes.cleanup = function (callback) {
|
||||
if (callback) callback();
|
||||
};
|
||||
};
|
||||
|
|
|
@ -14,7 +14,6 @@ TABS.motors.initialize = function (callback) {
|
|||
|
||||
if (GUI.active_tab != 'motors') {
|
||||
GUI.active_tab = 'motors';
|
||||
googleAnalytics.sendAppView('Motors');
|
||||
}
|
||||
|
||||
function get_arm_status() {
|
||||
|
|
|
@ -13,7 +13,6 @@ TABS.onboard_logging.initialize = function (callback) {
|
|||
|
||||
if (GUI.active_tab != 'onboard_logging') {
|
||||
GUI.active_tab = 'onboard_logging';
|
||||
googleAnalytics.sendAppView('onboard_logging');
|
||||
}
|
||||
|
||||
if (CONFIGURATOR.connectionValid) {
|
||||
|
@ -467,4 +466,4 @@ TABS.onboard_logging.cleanup = function (callback) {
|
|||
if (callback) {
|
||||
callback();
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
|
@ -9,7 +9,6 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
|
||||
if (GUI.active_tab != 'pid_tuning') {
|
||||
GUI.active_tab = 'pid_tuning';
|
||||
googleAnalytics.sendAppView('PID Tuning');
|
||||
}
|
||||
|
||||
function get_pid_controller() {
|
||||
|
@ -412,4 +411,4 @@ TABS.pid_tuning.cleanup = function (callback) {
|
|||
if (callback) {
|
||||
callback();
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
|
@ -72,7 +72,6 @@ TABS.ports.initialize = function (callback, scrollPosition) {
|
|||
|
||||
if (GUI.active_tab != 'ports') {
|
||||
GUI.active_tab = 'ports';
|
||||
googleAnalytics.sendAppView('Ports');
|
||||
}
|
||||
|
||||
load_configuration_from_fc();
|
||||
|
|
|
@ -9,7 +9,6 @@ TABS.receiver.initialize = function (callback) {
|
|||
|
||||
if (GUI.active_tab != 'receiver') {
|
||||
GUI.active_tab = 'receiver';
|
||||
googleAnalytics.sendAppView('Receiver');
|
||||
}
|
||||
|
||||
function get_misc_data() {
|
||||
|
|
|
@ -6,7 +6,6 @@ TABS.sensors.initialize = function (callback) {
|
|||
|
||||
if (GUI.active_tab != 'sensors') {
|
||||
GUI.active_tab = 'sensors';
|
||||
googleAnalytics.sendAppView('Sensors');
|
||||
}
|
||||
|
||||
function initSensorData(){
|
||||
|
|
|
@ -6,7 +6,6 @@ TABS.servos.initialize = function (callback) {
|
|||
|
||||
if (GUI.active_tab != 'servos') {
|
||||
GUI.active_tab = 'servos';
|
||||
googleAnalytics.sendAppView('Servos');
|
||||
}
|
||||
|
||||
function get_servo_configurations() {
|
||||
|
|
|
@ -9,7 +9,6 @@ TABS.setup.initialize = function (callback) {
|
|||
|
||||
if (GUI.active_tab != 'setup') {
|
||||
GUI.active_tab = 'setup';
|
||||
googleAnalytics.sendAppView('Setup');
|
||||
}
|
||||
|
||||
function load_status() {
|
||||
|
@ -139,7 +138,6 @@ TABS.setup.initialize = function (callback) {
|
|||
}
|
||||
configuration_backup(function () {
|
||||
GUI.log(chrome.i18n.getMessage('initialSetupBackupSuccess'));
|
||||
googleAnalytics.sendEvent('Configuration', 'Backup', 'true');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -149,7 +147,6 @@ TABS.setup.initialize = function (callback) {
|
|||
}
|
||||
configuration_restore(function () {
|
||||
GUI.log(chrome.i18n.getMessage('initialSetupRestoreSuccess'));
|
||||
googleAnalytics.sendEvent('Configuration', 'Restore', 'true');
|
||||
|
||||
// get latest settings
|
||||
TABS.setup.initialize();
|
||||
|
|
|
@ -9,7 +9,6 @@ TABS.transponder.initialize = function (callback, scrollPosition) {
|
|||
|
||||
if (GUI.active_tab != 'transponder') {
|
||||
GUI.active_tab = 'transponder';
|
||||
googleAnalytics.sendAppView('Transponder');
|
||||
}
|
||||
|
||||
// transponder supported added in MSP API Version 1.16.0
|
||||
|
|
Loading…
Reference in New Issue