|
|
@ -354,9 +354,7 @@ TABS.onboard_logging.initialize = function (callback) {
|
|
|
|
const filename = 'blackbox_log_' + date.getFullYear() + '-' + zeroPad(date.getMonth() + 1, 2) + '-'
|
|
|
|
const filename = 'blackbox_log_' + date.getFullYear() + '-' + zeroPad(date.getMonth() + 1, 2) + '-'
|
|
|
|
+ zeroPad(date.getDate(), 2) + '_' + zeroPad(date.getHours(), 2) + zeroPad(date.getMinutes(), 2)
|
|
|
|
+ zeroPad(date.getDate(), 2) + '_' + zeroPad(date.getHours(), 2) + zeroPad(date.getMinutes(), 2)
|
|
|
|
+ zeroPad(date.getSeconds(), 2);
|
|
|
|
+ zeroPad(date.getSeconds(), 2);
|
|
|
|
const accepts = [{
|
|
|
|
const accepts = '.txt';
|
|
|
|
description: 'TXT files', extensions: ['txt'],
|
|
|
|
|
|
|
|
}];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nwdialog.setContext(document);
|
|
|
|
nwdialog.setContext(document);
|
|
|
|
nwdialog.saveFileDialog(filename, accepts, '', function(file) {
|
|
|
|
nwdialog.saveFileDialog(filename, accepts, '', function(file) {
|
|
|
|