django-cms: I have to click 3 times on the button top right to open menu in cms -TypeError: this.ui.container.data(...).push is not a function

Description

Uncaught TypeError: this.ui.container.data(...).push is not a function at s.initialize (bundle.toolbar.min.js:formatted:16209) at new s (bundle.toolbar.min.js:formatted:4754) at bundle.toolbar.min.js:formatted:17044 at Array.forEach (<anonymous>) at Function.xe._updateRegistry (bundle.toolbar.min.js:formatted:17036) at Object.<anonymous> (bundle.toolbar.min.js:formatted:15509) at u (bundle.toolbar.min.js:formatted:2048) at Object.fireWith [as resolveWith] (bundle.toolbar.min.js:formatted:2104) at Object.<anonymous> (bundle.toolbar.min.js:formatted:2137) at u (bundle.toolbar.min.js:formatted:2048)

https://github.com/divio/django-cms/blob/aab6a4a5177407cf5cdd56d282e996f73c07646c/cms/static/cms/js/modules/cms.plugins.js#L103

## Steps to reproduce It seems if the first placeholder is a static placeholder, js isnt working as intended

Expected behaviour

1 click to open cms menu

Actual behaviour

I have to click exactly 3 times on the button top right to open menu in cms, seems like the container isnt loaded at first

Additional information

Django 2.2 / CMS 3.7

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (3 by maintainers)

Most upvoted comments

hej @FinalAngel im looking into it if i got a minute, thank you for your reply