6 lines
352 B
Plaintext
6 lines
352 B
Plaintext
|
$('#show_preview').html('<%=escape_javascript(render :partial=>"/shared/preview/modal_preview") %>');
|
||
|
var start_modal_with_id = "<%= @preview_obj.id %>";
|
||
|
$("#"+start_modal_with_id).css("width","1050px");
|
||
|
$("#"+start_modal_with_id).css("height","768px");
|
||
|
$("#"+start_modal_with_id).css("margin","-270px 0 0 -550px");
|
||
|
$("#"+start_modal_with_id).modal();
|