r4300 printPageHeaders(): also use static proxy for JS files
[racktables] / wwwroot / inc / functions.php
index 80ef1bb67f0db08f33cbf5d46f13e7d64978a6dc..6c8389e866cff1fc7b664a0dda745bf58edb3d84 100644 (file)
@@ -3744,7 +3744,7 @@ function printPageHeaders ()
                        if ($item['type'] == 'inline')
                                echo '<script type="text/javascript">' . "\n" . trim ($item['script'], "\r\n") . "\n</script>\n";
                        elseif ($item['type'] == 'file')
-                               echo '<script type="text/javascript" src="' . htmlspecialchars ($item['script']) . "\"></script>\n";
+                               echo "<script type='text/javascript' src='?module=chrome&uri=${item['script']}'></script>\n";
 }
 
 function strerror8021Q ($errno)