summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorgitawego <[email protected]>2013-05-14 20:29:16 +0200
committergitawego <[email protected]>2013-05-14 20:29:16 +0200
commit010eb9c169f34163c66a0823936372869ad3f606 (patch)
tree66bfac9025063e44dacab34c8b7c38b19d45b8dc /prefs.php
parentfc0094d5f16c59b975c47da65a83dda25a7025e2 (diff)
@FIXED dijit modules aren't cached in perfs.php
I don't know if it's the best practice of using Minifier.php like this
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/prefs.php b/prefs.php
index b617d94bc..93b7cbb78 100644
--- a/prefs.php
+++ b/prefs.php
@@ -53,8 +53,6 @@
foreach (array("lib/prototype.js",
"lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls",
"lib/dojo/dojo.js",
- "lib/dijit/dijit.js",
- "lib/CheckBoxTree.js",
"lib/dojo/tt-rss-layer.js",
"errors.php?mode=js") as $jsfile) {
@@ -63,6 +61,7 @@
} ?>
<script type="text/javascript">
+ require({cache:{}});
<?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();
?>