aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/tree.js
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2024-09-08 18:09:28 +0200
committerAndreas Gohr <andi@splitbrain.org>2024-09-08 18:09:28 +0200
commit944e9ba7254387adb60f253b0d8796f2276096b1 (patch)
tree982cc1234b1c4060bd58d72ce72a59d0f341d1cb /lib/scripts/tree.js
parent6de67ec6f9efe768b902ace7eb42cda8bff62725 (diff)
downloaddokuwiki-944e9ba7254387adb60f253b0d8796f2276096b1.tar.gz
dokuwiki-944e9ba7254387adb60f253b0d8796f2276096b1.zip
use a dispatcher to access static image files
This makes it possible to replace default images in an update safe way. It also addresses the issue raised in dokuwiki/docker#16 A .htaccess rewrite catches any direct accesses that might come in from plugins.
Diffstat (limited to 'lib/scripts/tree.js')
-rw-r--r--lib/scripts/tree.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scripts/tree.js b/lib/scripts/tree.js
index 9b2d24556..e0069ad45 100644
--- a/lib/scripts/tree.js
+++ b/lib/scripts/tree.js
@@ -81,7 +81,7 @@ jQuery.fn.dw_tree = function(overrides) {
$listitem.append($sublist);
timeout = window.setTimeout(
- bind(show_sublist, '<li aria-busy="true"><img src="' + DOKU_BASE + 'lib/images/throbber.gif" alt="loading..." title="loading..." /></li>'), dw_tree.throbber_delay);
+ bind(show_sublist, '<li aria-busy="true"><img src="' + DOKU_BASE + 'lib/exe/image.php/throbber.gif" alt="loading..." title="loading..." /></li>'), dw_tree.throbber_delay);
dw_tree.load_data(function (data) {
window.clearTimeout(timeout);