New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling assets button in Toolbar Buttons causes an error #2242

Closed
peimann opened this Issue Nov 10, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@peimann

peimann commented Nov 10, 2018

Describe the bug
Enabling assets button in Toolbar Buttons causes an error: Cannot read property 'container' of undefined
buttons.js:18 Uncaught (in promise) TypeError: Cannot read property 'container' of undefined

To Reproduce
Steps to reproduce the behavior:

  1. Go to '/cp/fieldsets/long_form'
  2. Edit 'Long Form Content'
  3. Go to extras and enable link to asset
  4. Save and go to /cp/collections/entries/blog/what-i-did-last-summer
  5. An error prevents the page from loading completely

Expected behavior
Got an asset button in the toolbar by enabling it

Screenshots
image

Environment details (please complete the following information):

  • Statamic Version 2.11.2
  • Fresh Install or Upgrade: Upgrade from 2.11.2
  • OS: macOS
  • Browser: Chrome
  • Web Server: Nginx
  • PHP Version: 7.2
  • Addons installed: nothing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment