Skip to content

scriptUrl cannot be loaded on the second request via modal manager #2849

Description

@viewtance

On a list page, such as the index page, the first time open a createModal or a editModal, the request scriptUrl could be loaded, but the second time, it cannot load the scriptUrl option, is it related with below code:

         if (typeof options === 'string') {
                options = {
                    viewUrl: options
                };
            }

            var _options = options;

            var _$modalContainer = null;
            var _$modal = null;
            var _$form = null;

The viewUrl be defined again, but the scriptUrl not.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions