You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting. I did notice that the project page's version of the script doesn't have the latest updates from this commit, so presumably something in that change is what is causing it not to work for you.
A few questions:
What version of ZURB Foundation are you using?
Are you using this plugin in a Rails app alongside jquery_ujs.js?
Do you have this page up at a publicly-viewable URL for debugging?
I removed this part of the code to get it to work:
if (!el_options) {
return true;
}
When you just add "data-confirm" to an element, the line el_options = $el.data('confirm');
obviously returns an empty string. So then the removed code above just returns true instead of continuing to the building of the modal etc.
But works correctly with "confirm.js" from the Project Page.
No errors into the console.
Just no confirmation modal, links are followed…
Anyway, thanks for sharing and for the job !
The text was updated successfully, but these errors were encountered: