summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-11-18 08:01:40 -0200
committerRenato Botelho <renato@netgate.com>2015-11-18 08:02:43 -0200
commit1da49511f918601378ceff3e270aad79cee131c1 (patch)
tree5ab8c283ef99dcb160bb585ed2ae3f613aa18a67 /src
parent988542d213d60cae3712b815c1255a5b8db99ce6 (diff)
downloadpfsense-1da49511f918601378ceff3e270aad79cee131c1.zip
pfsense-1da49511f918601378ceff3e270aad79cee131c1.tar.gz
Change update_status to only print on console
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/pfsense-utils.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/etc/inc/pfsense-utils.inc b/src/etc/inc/pfsense-utils.inc
index 80a17d3..d87e60f 100644
--- a/src/etc/inc/pfsense-utils.inc
+++ b/src/etc/inc/pfsense-utils.inc
@@ -1838,10 +1838,9 @@ function update_output_window($text) {
*/
function update_status($status) {
global $pkg_interface;
+
if ($pkg_interface == "console") {
echo "\r{$status}";
- } else {
- echo '<script>document.getElementById("status").innerText="'. htmlspecialchars($status).'";</script>';
}
/* ensure that contents are written out */
OpenPOWER on IntegriCloud