diff options
author | Michele Di Maria <michele@nt2.it> | 2013-04-07 10:52:05 +0200 |
---|---|---|
committer | Michele Di Maria <michele@nt2.it> | 2013-04-07 10:52:05 +0200 |
commit | ee02550a564c3d4f996a70cfd4fafe78a07f0046 (patch) | |
tree | 8894795928cbf6a634e24f356cb2431155b7e3aa /etc/inc/shaper.inc | |
parent | 730790dd972414dc93d687697edd75ab173e0d43 (diff) | |
download | pfsense-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.inc | 6 |
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"; |