diff options
author | Renato Botelho <renato@netgate.com> | 2015-11-18 08:01:40 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-11-18 08:02:43 -0200 |
commit | 1da49511f918601378ceff3e270aad79cee131c1 (patch) | |
tree | 5ab8c283ef99dcb160bb585ed2ae3f613aa18a67 /src | |
parent | 988542d213d60cae3712b815c1255a5b8db99ce6 (diff) | |
download | pfsense-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.inc | 3 |
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 */ |