save mycall and grid on input

This commit is contained in:
DJ2LS 2022-12-24 15:51:26 +01:00
parent f730fbe3d7
commit 495b988701
2 changed files with 6 additions and 2 deletions

View file

@ -1313,6 +1313,12 @@ ipcRenderer.on('action-update-tnc-state', (event, arg) => {
}
if (typeof(arg.mycallsign) !== 'undefined') {
// split document title by looking for Call then split and update it
var documentTitle = document.title.split('Call:')
document.title = documentTitle[0] + 'Call: ' + arg.mycallsign;
}
// TOE TIME OF EXECUTION --> How many time needs a command to be executed until data arrives
// deactivated this feature, beacuse its useless at this time. maybe it is getting more interesting, if we are working via network

View file

@ -731,7 +731,6 @@
<option value="14">14</option>
<option value="15">15</option>
</select>
<button class="btn btn-sm btn-success" id="saveMyCall" type="button"> <i class="bi bi-check2" style="font-size: 1rem; color: white;"></i> </button>
</div>
</div>
<div class="col-md-auto">
@ -739,7 +738,6 @@
<i class="bi bi-house-fill" style="font-size: 1rem; color: black;"></i>
</span>
<input type="text" class="form-control mr-1" style="max-width: 6rem" placeholder="locator" id="myGrid" maxlength="6" aria-label="Input group" aria-describedby="btnGroupAddon">
<button class="btn btn-sm btn-success" id="saveMyGrid" type="button"> <i class="bi bi-check2" style="font-size: 1rem; color: white;"></i> </button>
</div>
</div>
</div>