summaryrefslogtreecommitdiffstats
path: root/etc/inc/shaper.inc
diff options
context:
space:
mode:
authorMichele Di Maria <michele@nt2.it>2013-04-07 10:52:05 +0200
committerMichele Di Maria <michele@nt2.it>2013-04-07 10:52:05 +0200
commitee02550a564c3d4f996a70cfd4fafe78a07f0046 (patch)
tree8894795928cbf6a634e24f356cb2431155b7e3aa /etc/inc/shaper.inc
parent730790dd972414dc93d687697edd75ab173e0d43 (diff)
downloadpfsense-ee02550a564c3d4f996a70cfd4fafe78a07f0046.zip
pfsense-ee02550a564c3d4f996a70cfd4fafe78a07f0046.tar.gz
Fixes Javascript Errors
Fixes the Javascript error that prevents enabling/disabling the objects in the interface.
Diffstat (limited to 'etc/inc/shaper.inc')
-rw-r--r--etc/inc/shaper.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc
index e5e2525..33d5706 100644
--- a/etc/inc/shaper.inc
+++ b/etc/inc/shaper.inc
@@ -563,7 +563,7 @@ class altq_root_queue {
function build_javascript() {
$javascript = "<script type=\"text/javascript\">";
- $javascript .= "//<![CDATA[";
+ $javascript .= "//<![CDATA[\n";
$javascript .= "function mySuspend() {";
$javascript .= "if (document.layers && document.layers['shaperarea'] != null) ";
$javascript .= "document.layers['shaperarea'].visibility = 'hidden'; ";
@@ -874,7 +874,7 @@ class priq_queue {
function build_javascript() {
$javascript = "<script type=\"text/javascript\">";
- $javascript .= "//<![CDATA[";
+ $javascript .= "//<![CDATA[\n";
$javascript .= "function mySuspend() { \n";
$javascript .= "if (document.layers && document.layers['shaperarea'] != null)\n";
$javascript .= "document.layers['shaperarea'].visibility = 'hidden';\n";
@@ -1811,7 +1811,7 @@ class hfsc_queue extends priq_queue {
function build_javascript() {
$javascript = parent::build_javascript();
$javascript .= "<script type=\"text/javascript\">";
- $javascript .= "//<![CDATA[";
+ $javascript .= "//<![CDATA[\n";
$javascript .= "function enable_realtime(enable_over) { \n";
$javascript .= "if (document.iform.realtime.checked || enable_over) { \n";
$javascript .= "document.iform.realtime1.disabled = 0;\n";
OpenPOWER on IntegriCloud