mullema / k3-panel-view-extended

Quick fix for some missing features in the panel
MIT License
26 stars 2 forks source link

Cannot read property 'add' of undefined #11

Closed teichsta closed 3 years ago

teichsta commented 3 years ago

i installed you plugin as it seems to help a lot on my way to customise the kirby panel. Immediately after installation (and refreshing my panel site) i got the alert:

image

Any idea what could cause this alert?

mullema commented 3 years ago

What kirby version are you using?

teichsta commented 3 years ago

3.5.7.1

interesting observation: at first i installed the plugin using composer and got the above error. I now removed the plugin again and manually copied the recent Repo-Zip from Github: the alert is gone, but the plugin doesn't seem to add all expected classes.

As k-panel de thomas editor is added correctly there is no additional class for k-page-view (i would expect the 'breadcrum'). Also the options doesn't seem to work. After adding

options:
  hideOptions: true

to a page i still see the settings "Zahnrad".

Any idea where to dig deeper?

teichsta commented 3 years ago

ah no … observation error … the alert is still there … unfortunately

see this in the console:

image

which leads to:

image

mullema commented 3 years ago

Try the latest release which fixes this issue

teichsta commented 3 years ago

thx, i did and the fix makes the alert disappear!