I have mostly all of my forms for different controllers in a jquery dialog modal box, and the problem i’m running into is that when those modals are loaded, the ujs links(data-remote, data-confirm, etc) are completely ignored by jquery. I’m thinking that when those partials are getting loaded through ajax, that the events aren’t bubbling up to include those new links that are added to the dom by ajax. Has anyone run into this? I can’t seem to figure out a way around it. I can post some code if this wasn’t very clear…
Share
Ok so I fixed it with this, using a custom jquery ui dialog box I can now do custom confirms ontop of remote true links