Joined June 2013
·
B72fc5d9251ae33f4eb3a0c94bf9933a

Mathijs

Netherlands
·
·

How to handle with multiple modals?
I have now this:
$('.modal-service').empty().html('<%= escapejavascript(render :partial => 'serviceform', :object => @service) %>');
$('.modal-employee').empty().html('<%= escapejavascript(render :partial => 'addemployee', :object => @service) %>');

But with every click to open a modal, it loads all the modals which causing some conflicts.

Achievements
39 Karma
0 Total ProTip Views