accept new optional host value

This commit is contained in:
Stewart Allen 2018-03-14 14:20:00 -04:00
commit d8afdc7b82

View file

@ -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,