mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
yWeb: move Y_NI_Tools() away from Y_NIlib.js; drop Y_NIlib.js
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7b0e62f4e2
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-02-21 (Tue, 21 Feb 2023)
Origin message was:
------------------
- yWeb: move Y_NI_Tools() away from Y_NIlib.js; drop Y_NIlib.js
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -553,3 +553,15 @@ function goPort(_port)
|
||||
var host = host.substring(0, pos1 + 2 + pos2);
|
||||
window.open(host + ":" + _port, "_blank");
|
||||
}
|
||||
|
||||
function Y_NI_Tools(_cmd, _tout){
|
||||
var out = document.getElementById("out");
|
||||
if (out)
|
||||
out.innerHTML = "";
|
||||
show_waitbox(true);
|
||||
goUrl("/control/exec?Y_NI_Tools&" + _cmd);
|
||||
if (typeof(_tout) == "undefined")
|
||||
show_waitbox(false);
|
||||
else
|
||||
window.setTimeout("document.location.reload()", _tout);
|
||||
}
|
||||
|
Reference in New Issue
Block a user