Skip to content
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

[JS] Cannot manage block placement #4400

Closed
craigh opened this issue Jul 13, 2020 · 6 comments
Closed

[JS] Cannot manage block placement #4400

craigh opened this issue Jul 13, 2020 · 6 comments
Assignees
Labels
Milestone

Comments

@craigh
Copy link
Member

@craigh craigh commented Jul 13, 2020

Cannot manage block placement. Javascript error

Q A
Zikula Version 3.0.0

e.g. at blocks/admin/placement/edit/1
cannot drag & drop block placements.

Javascript error in console on page load:

TypeError: undefined is not a function (near '...$('#assignedblocklist tbody').sortable...')

@craigh craigh added the Bug label Jul 13, 2020
@craigh craigh added this to the 3.0.1 milestone Jul 13, 2020
@craigh
Copy link
Member Author

@craigh craigh commented Jul 13, 2020

current workaround is to simply edit the block and change position placement there.

@Guite
Copy link
Member

@Guite Guite commented Jul 13, 2020

I improved a dropdown menu display in cb3df04

But I can not reproduce the issue. Works for me with asset combination disabled and enabled.
Opened /blocks/admin/placement/edit/7 and changed some block placements using drag n drop without any issue.

@craigh
Copy link
Member Author

@craigh craigh commented Jul 13, 2020

I have asset combination disabled

I also can see this warning.

Screen Shot 2020-07-13 at 11 53 11 AM

@craigh
Copy link
Member Author

@craigh craigh commented Jul 13, 2020

OK - I have determined that it isn't working when using my theme. when I switch back to BootstrapTheme then it works.

do you have any idea what might cause that?

@craigh
Copy link
Member Author

@craigh craigh commented Jul 13, 2020

do you have any idea what might cause that?

it appears that jquery-ui is not being included

@Guite
Copy link
Member

@Guite Guite commented Jul 13, 2020

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants