Page 1 of 1

Auto close modal speed

Posted: 2023-04-03 07:42
by ltlow
Is there any way I can change the speed of auto-close modal? Currently I have enable the auto-close modal after saving changes but I notice there are some delay (about 3s), can I change it to close modal immediately after I save changes?

Re: Auto close modal speed

Posted: 2023-04-04 03:50
by D Oliveira
I haven't tested this but you can track the on click event of #update and #insert button and try to close the modal by calling the .click() event on the id for the X to close the modal.