samuelet / indexmenu

A dokuwiki plugin to show a customizable and sortable index for a namespace.
http://dokuwiki.org/plugin:indexmenu
GNU General Public License v2.0
47 stars 43 forks source link

ReferenceError: dTree is not defined #223

Closed vonv closed 3 years ago

vonv commented 4 years ago

Hi,

Dokuciki: Release rc2-2020-06-01 "Hogfather" RC2

When a namespace has a home page, in sidebar, the sub pages of the namespace not expanding.

And got this error in the browser console (FF):

ReferenceError: dTree is not definedstart:102:41

samuelstj commented 4 years ago

Same here on chrome.

Uncaught ReferenceError: dTree is not defined
    at doku.php?id=docs:cmb:start:173
cdkeyleo commented 4 years ago

Same problem here, dokuwiki was upgraded to Release rc-2020-06-09 "Hogfather" RC3

ReferenceError: dTree is not defined                            doku.php:110:41
    <anonymous> http://localhost:8885/doku.php?id=start:110
ReferenceError: dTree is not defined                             doku.php:528:41
    <anonymous> http://localhost:8885/doku.php?id=start:528
Klap-in commented 4 years ago

Please use the defer js config setting https://www.dokuwiki.org/config:defer_js until this issue is addressed by the indexmenu plugin.

vonv commented 4 years ago

Thank. What do i have to do exactly ?

Put something like $conf['defer_js'] = 'false'; in my local.php ?

Klap-in commented 4 years ago

Indeed. I think you have to left out the quotes as well, so just false.

vonv commented 4 years ago

You make my day :) It works !!! Thank you !

syyongx commented 4 years ago

Thank. What do i have to do exactly ?

Put something like $conf['defer_js'] = 'false'; in my local.php ?

Right: $conf['defer_js'] = false;

Klap-in commented 3 years ago

An message for the users is added, to find the workaround for this issue. https://github.com/samuelet/indexmenu/commit/481a3cf8ef5cd438582902b1901edda0b7491b30

Long term fix is arriving via: https://github.com/samuelet/indexmenu/issues/230