Skip to content
Snippets Groups Projects
Commit bf495916 authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

Merge pull request #190 from gitawego/patch-2

@FIXED dijit modules aren't cached in perfs.php
parents fc0094d5 010eb9c1
No related branches found
No related tags found
No related merge requests found
...@@ -53,8 +53,6 @@ ...@@ -53,8 +53,6 @@
foreach (array("lib/prototype.js", foreach (array("lib/prototype.js",
"lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls", "lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls",
"lib/dojo/dojo.js", "lib/dojo/dojo.js",
"lib/dijit/dijit.js",
"lib/CheckBoxTree.js",
"lib/dojo/tt-rss-layer.js", "lib/dojo/tt-rss-layer.js",
"errors.php?mode=js") as $jsfile) { "errors.php?mode=js") as $jsfile) {
...@@ -63,6 +61,7 @@ ...@@ -63,6 +61,7 @@
} ?> } ?>
<script type="text/javascript"> <script type="text/javascript">
require({cache:{}});
<?php <?php
require 'lib/jshrink/Minifier.php'; require 'lib/jshrink/Minifier.php';
...@@ -72,7 +71,7 @@ ...@@ -72,7 +71,7 @@
} }
} }
print get_minified_js(array("functions", "deprecated", "prefs", "PrefFeedTree", "PrefFilterTree", "PrefLabelTree")); print get_minified_js(array("../lib/CheckBoxTree","functions", "deprecated", "prefs", "PrefFeedTree", "PrefFilterTree", "PrefLabelTree"));
init_js_translations(); init_js_translations();
?> ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment