mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +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:
@@ -78,8 +78,7 @@ install_DATA = extensions.txt \
|
|||||||
Y_yWeb.js
|
Y_yWeb.js
|
||||||
|
|
||||||
# NI-yWeb
|
# NI-yWeb
|
||||||
install_DATA += Y_NIlib.js \
|
install_DATA += Y_NI_About.yhtm \
|
||||||
Y_NI_About.yhtm \
|
|
||||||
Y_NI_Camd-control.yhtm \
|
Y_NI_Camd-control.yhtm \
|
||||||
Y_NI_Infoicons-control.yhtm \
|
Y_NI_Infoicons-control.yhtm \
|
||||||
Y_NI_m3uConInfo.yhtm \
|
Y_NI_m3uConInfo.yhtm \
|
||||||
|
@@ -553,3 +553,15 @@ function goPort(_port)
|
|||||||
var host = host.substring(0, pos1 + 2 + pos2);
|
var host = host.substring(0, pos1 + 2 + pos2);
|
||||||
window.open(host + ":" + _port, "_blank");
|
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);
|
||||||
|
}
|
||||||
|
@@ -1,16 +0,0 @@
|
|||||||
/* 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);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +1,3 @@
|
|||||||
version=3.0.41
|
version=3.0.42
|
||||||
date=21.02.2023
|
date=21.02.2023
|
||||||
info=NI-Neutrino-Webinterface
|
info=NI-Neutrino-Webinterface
|
||||||
|
Reference in New Issue
Block a user