Files
recycled-ni-neutrino/data/y-web/Y_NIlib.js
vanhofen 1f7890de40 yWeb: move goUrl() and goPort() away from Y_NIlib.js
Origin commit data
------------------
Branch: ni/coolstream
Commit: bc15870197
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-02-21 (Tue, 21 Feb 2023)

Origin message was:
------------------
- yWeb: move goUrl() and goPort() away from Y_NIlib.js

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2023-02-21 22:52:10 +01:00

17 lines
290 B
JavaScript

/* yWeb NIlib by NI-Team
*/
function Y_NI_Tools(_cmd, _tout){
$("out").update("");
show_waitbox(true);
goUrl("/control/exec?Y_NI_Tools&" + _cmd);
if (typeof(_tout) == "undefined")
{
show_waitbox(false);
}
else
{
window.setTimeout("document.location.reload()", _tout);
}
}