@endlessly stuck, a buddy of mine doing frontend have just show me the trick that made it working (I was stuck too with greyed out screen but no modal):
The modal window should be declared like this:
<div id="modal-window" class="modal hide fade" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"></div> </div> </div>
Then, rendering should be made this way:
$("#modal-window").find(".modal-content").html("<%= j (render 'application/modal') %>"); $("#modal-window").modal();
@endlessly stuck, a buddy of mine doing frontend have just show me the trick that made it working (I was stuck too with greyed out screen but no modal):
The modal window should be declared like this:
Then, rendering should be made this way: