Mercurial > hg > fapweb
diff admajax.php @ 1041:f188caaedf0f
Implement force reloading of show screen web-page.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 20 Nov 2015 10:48:18 +0200 |
parents | 2e1a9b564674 |
children | c0674ef6e100 |
line wrap: on
line diff
--- a/admajax.php Fri Nov 20 10:39:50 2015 +0200 +++ b/admajax.php Fri Nov 20 10:48:18 2015 +0200 @@ -825,6 +825,14 @@ } break; + case "screencmd": + if (stChkRequestItem("cmd", $stmp, array(CHK_TYPE, VT_STR, "Invalid data."))) + { + stSetDisplayVar("screenCmdSet", TRUE); + stSetDisplayVarUpd("screenCmd", $stmp); + } + break; + case "check": // // Perform systems check @@ -1204,6 +1212,7 @@ stGetShowModeButton(SMODE_ROTATE, "Slide rotation", $showMode)."\n". stGetShowModeButton(SMODE_COMPO, "Compo mode", $showMode)."\n". "<a href=\"show.php\" target=\"_blank\">Open info window</a>\n". + stGetFormButtonElement("showForceReload", "", "", "Showscreen reload", "showScreenCmd('reload')")."\n". "</div>\n". "<div id=\"ctrlSystemControls\">\n". stGetFormButtonInput("syscheck", "", "", "Perform system check", "performSystemCheck()")."\n".