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

Uploader's JS code is loaded multiple times in 'Add New...' form. #3635

Closed
AntonLV opened this issue Dec 28, 2021 · 0 comments
Closed

Uploader's JS code is loaded multiple times in 'Add New...' form. #3635

AntonLV opened this issue Dec 28, 2021 · 0 comments
Assignees
Labels
Milestone

Comments

@AntonLV
Copy link
Contributor

AntonLV commented Dec 28, 2021

  1. Use bx_get_scripts instead of BxDolTemplate::addJs(array, true) when Dynamic loading is required.
  2. Improve bx_get_style to work like bx_get_scripts.
  3. Use bx_get_scripts in BxDolUploader to avoid multiple loadings of BxDolUploader.js
@AntonLV AntonLV added the Bug label Dec 28, 2021
@AntonLV AntonLV added this to the 13.0.0-A3 milestone Dec 28, 2021
@AntonLV AntonLV self-assigned this Dec 28, 2021
AntonLV added a commit that referenced this issue Dec 29, 2021
AntonLV added a commit that referenced this issue Dec 29, 2021
@AntonLV AntonLV closed this as completed Jan 4, 2022
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

1 participant