HelloZeroNet / HelloZeroNet/ZeroNet

Load Js In Modal

Open
#2,373 1 comment 0 reactions 0 assignees View on GitHub
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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.