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
44 stars 43 forks source link

Indexmenu doesn't collapse after update to Release rc2020-06-01 "Hogfather" #219

Closed Vudubond closed 4 years ago

Vudubond commented 4 years ago

Hello,

The Indexmenu doesn't collapse after update to Release rc2020-06-01 "Hogfather".

dokuwiki template used.

In console shows

doku.php:131 Uncaught ReferenceError: dTree is not defined at doku.php:131 (anonymous) @ doku.php:131

Please help.

revol commented 4 years ago

That fixed this issue for me for now:

Defering of Javascript is added to the upcoming version of DokuWiki. The indexmenu plugin is not yet updated to handle this. You can temporary disable it using the feature flag ‘defer_js’ in the config manager of DokuWiki.

https://www.dokuwiki.org/config:defer_js Introduced in: https://github.com/splitbrain/dokuwiki/pull/2974

Originally posted by @Klap-in in https://github.com/samuelet/indexmenu/issues/215#issuecomment-638049353

Vudubond commented 4 years ago

Yes please it is working with defer_js deactivated.