kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
Merge branch 'fix-adif-loading' into 'master'
fix constant var path to be a var we can write to Closes #71 See merge request gridtracker.org/gridtracker!76rich-presence
commit
d0b6c5de71
|
@ -860,7 +860,7 @@ fileSelector.onchange = function ()
|
||||||
{
|
{
|
||||||
if (this.files && this.files[0])
|
if (this.files && this.files[0])
|
||||||
{
|
{
|
||||||
path = this.value.replace(this.files[0].name, "");
|
let path = this.value.replace(this.files[0].name, "");
|
||||||
fileSelector.setAttribute("nwworkingdir", path);
|
fileSelector.setAttribute("nwworkingdir", path);
|
||||||
|
|
||||||
var reader = new FileReader();
|
var reader = new FileReader();
|
||||||
|
@ -904,7 +904,7 @@ startupFileSelector.onchange = function ()
|
||||||
g_startupLogs.push(newObject);
|
g_startupLogs.push(newObject);
|
||||||
localStorage.startupLogs = JSON.stringify(g_startupLogs);
|
localStorage.startupLogs = JSON.stringify(g_startupLogs);
|
||||||
|
|
||||||
path = this.value.replace(this.files[0].name, "");
|
let path = this.value.replace(this.files[0].name, "");
|
||||||
startupFileSelector.setAttribute("nwworkingdir", path);
|
startupFileSelector.setAttribute("nwworkingdir", path);
|
||||||
|
|
||||||
setAdifStartup(loadAdifCheckBox);
|
setAdifStartup(loadAdifCheckBox);
|
||||||
|
|
Ładowanie…
Reference in New Issue