accept new optional host value
This commit is contained in:
parent
cb43d70cb8
commit
d8afdc7b82
1 changed files with 3 additions and 1 deletions
|
|
@ -1059,10 +1059,12 @@ self.kiri.license = exports.LICENSE;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function gridhost_probe(ev) {
|
function gridhost_probe(ev, host) {
|
||||||
if (ev && ev.code !== 'Enter') return;
|
if (ev && ev.code !== 'Enter') return;
|
||||||
if (!(grid_host && grid_apik)) return;
|
if (!(grid_host && grid_apik)) return;
|
||||||
|
|
||||||
|
if (host) grid_host.value = host;
|
||||||
|
|
||||||
var xhtr = new XMLHttpRequest(),
|
var xhtr = new XMLHttpRequest(),
|
||||||
host = grid_host.value,
|
host = grid_host.value,
|
||||||
apik = grid_apik.value,
|
apik = grid_apik.value,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue