diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-11-29 14:53:53 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-11-29 14:53:53 -0500 |
commit | 05973e8e744337d9902d1bb61a3b51c514b8e87f (patch) | |
tree | b49d060e5616c371bfd36cdf4314ba68b93d859b /src/usr/local/www/exec.php | |
parent | 99a94680d4cf0a7d568621728e7d43f89075ff5b (diff) | |
parent | 8fd9052f364f7c0d10d8244f3c1456c67baecc6d (diff) | |
download | pfsense-05973e8e744337d9902d1bb61a3b51c514b8e87f.zip pfsense-05973e8e744337d9902d1bb61a3b51c514b8e87f.tar.gz |
Merge pull request #2134 from ExolonDX/branch_04
Diffstat (limited to 'src/usr/local/www/exec.php')
-rw-r--r-- | src/usr/local/www/exec.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/usr/local/www/exec.php b/src/usr/local/www/exec.php index dc20057..f9b8f28 100644 --- a/src/usr/local/www/exec.php +++ b/src/usr/local/www/exec.php @@ -129,7 +129,8 @@ $closehead = false; $pgtitle = array(gettext("Diagnostics"), gettext("Execute command")); include("head.inc"); ?> -<script> +<script type="text/javascript"> +//<![CDATA[ // Create recall buffer array (of encoded strings). <?php @@ -304,11 +305,13 @@ if (!isBlank($_POST['txtCommand'])):?> puts(" </pre>"); puts("</div>"); ?> -<script> +<script type="text/javascript"> +//<![CDATA[ events.push(function(){ // Scroll to the bottom of the page to more easily see the results of a PHP exec command $("html, body").animate({ scrollTop: $(document).height() }, 1000); }); +//]]> </script> <?php } |