Auto close modal speed

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
ltlow
Posts: 15
Joined: 2021-07-29 09:37

Auto close modal speed

Post by ltlow » 2023-04-03 07:42

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?

User avatar
D Oliveira
AppGini Super Hero
AppGini Super Hero
Posts: 347
Joined: 2018-03-04 09:30
Location: David

Re: Auto close modal speed

Post by D Oliveira » 2023-04-04 03:50

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.

Post Reply