This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2012-09-07 09:55:59 +00:00
|
|
|
$('#show_preview').html('<%=escape_javascript(render :partial=>"/shared/preview/modal_preview") %>');
|
2012-09-04 04:31:27 +00:00
|
|
|
var start_modal_with_id = "<%= @preview_obj.id %>";
|
2012-09-04 01:24:12 +00:00
|
|
|
$("#"+start_modal_with_id).css("width","1050px");
|
|
|
|
$("#"+start_modal_with_id).css("height","768px");
|
2012-09-07 09:55:59 +00:00
|
|
|
$("#"+start_modal_with_id).css("margin","-270px 0 0 -550px");
|
|
|
|
$("#"+start_modal_with_id).modal();
|