HelloZeroNet / HelloZeroNet/ZeroNet
Load Js In Modal
- Dominant language
- JavaScript
- Stars
- 18.8k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
I want a script reference to be loaded in Modal to use its functionality
I have tried to put in the modal.cshtml but it is not working
My Modal opening code is as seen below
_createModal = new app.ModalManager({
ViewUrl: abp.appPath + 'path',
scriptURL: abp.appPath + 'js path',
modalClass: 'class'
})
and then opening modal with this command
_createModal.open().
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the modal.cshtml example and trace how app.ModalManager handles the scriptURL option when _createModal.open() is called. Reproduce the reported failure using the provided modal configuration and determine whether the referenced script becomes available in the modal; done means the requested script functionality works when the modal opens.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100