removed old log submit code.

This commit is contained in:
Warrick Corfe-Tan 2021-10-29 15:55:16 +11:00
parent 8180200b3a
commit 6da08b807c
2 changed files with 1 additions and 23 deletions

View File

@ -1,10 +1,8 @@
/* global window */
const { ipcRenderer, remote } = require('electron');
const { ipcRenderer } = require('electron');
const url = require('url');
const i18n = require('./js/modules/i18n');
const fs = require('fs');
const path = require('path');
const config = url.parse(window.location.toString(), true).query;
const { locale } = config;

View File

@ -57,26 +57,6 @@
if (text.length === 0) {
return;
}
// this.$('.buttons, textarea').remove();
// this.$('.result').addClass('loading');
// try {
// const publishedLogURL = await window.log.publish(text);
// const view = new Whisper.DebugLogLinkView({
// url: publishedLogURL,
// el: this.$('.result'),
// });
// this.$('.loading').removeClass('loading');
// view.render();
// this.$('.link')
// .focus()
// .select();
// } catch (error) {
// window.log.error('DebugLogView error:', error && error.stack ? error.stack : error);
// this.$('.loading').removeClass('loading');
// this.$('.result').text(i18n('debugLogError'));
// }
window.saveLog(text);
},
});