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

modal confirm : btn_cancel optionnal and show another modal in callback #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sungvadan
Copy link

Hello,

I met some difficult by using simplemodal especially with model "confirm". For exemple: sometimes, I don't need btn_cancel in a "confirm" or I need to display another modal in callback function.

So I propose to you a little modif. It's may be useful.

With this modification:
firstly, btn_cancel is optional in a modal confirm.
secondly, you can display another modal in callback function .

Best regards,
svd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant