django-bootstrap-modal-forms icon indicating copy to clipboard operation
django-bootstrap-modal-forms copied to clipboard

Create Async closeOnSubmit=true not work

Open hhjie opened this issue 3 years ago • 1 comments
trafficstars

        // 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!

hhjie avatar Jun 23 '22 05:06 hhjie

https://github.com/trco/django-bootstrap-modal-forms/issues/191#issue-1108257534

Could help.

CKDarling avatar Jun 23 '22 11:06 CKDarling