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

Adding a file component breaks the drop-down menu, error in console #136

Closed
jenlampton opened this issue Mar 8, 2019 · 2 comments
Closed

Comments

@jenlampton
Copy link
Member

I haven't figured out why yet, but when I add a file component to my webform, my drop-down menu looks like:
screen shot 2019-03-07 at 10 26 58 pm

Instead of like:
screen shot 2019-03-07 at 10 27 23 pm

In the console I see the error TypeError: $(...).backdropSetSummary is not a function

@jenlampton
Copy link
Member Author

Okay, so it loos like the function backdropSetSummary() is part of file module, and just needs to be included for the webform component when the manage file element is in use. I'm not sure why it wasn't there in the first place, but the provided PR fixes it.

jenlampton pushed a commit to jenlampton/webform that referenced this issue Mar 8, 2019
@herbdool
Copy link
Collaborator

herbdool commented Mar 9, 2019

Nice catch! I can deal with this soon.

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

No branches or pull requests

2 participants