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

Create Async closeOnSubmit=true not work #202

Open
hhjie opened this issue Jun 23, 2022 · 1 comment
Open

Create Async closeOnSubmit=true not work #202

hhjie opened this issue Jun 23, 2022 · 1 comment
Labels
Q&A Questions and answers

Comments

@hhjie
Copy link

hhjie commented Jun 23, 2022

        // modal form
        function createProjectAsyncModalForm() {
            $("#create-project-async").modalForm({
                formURL: "{% url 'bug-management:project-create' %}",
                modalID: "#create-modal",
                asyncUpdate: true,
                asyncSettings: {
                    closeOnSubmit: true,
                    successMessage: asyncSuccessMessageCreate,
                    dataUrl: "/bug_management/projects",
                    dataElementId: "#projects-table",
                    dataKey: "table",
                    addModalFormFunction: reinstantiateModalForms
                }
            });
        }

image

The modal can not close!

@CKDarling
Copy link

#191 (comment)

Could help.

@trco trco added the Q&A Questions and answers label Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Q&A Questions and answers
Projects
None yet
Development

No branches or pull requests

3 participants