Merge pull request #190 from gitawego/patch-2

@FIXED dijit modules aren't cached in perfs.php
master
Andrew Dolgov 12 years ago
commit bf495916ce

@ -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 @@
} ?> } ?>
<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 @@
} }
} }
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();
?> ?>

Loading…
Cancel
Save