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.
orbit-4-1/app/views/shared/preview/preview.html.erb

9 lines
297 B
Plaintext
Raw Permalink Normal View History

<% if !request.xhr? %>
<textarea>
<% end %>
$('#show_preview').html('<%=escape_javascript(render :partial=>"/shared/preview/modal_preview") %>');
2013-10-24 06:46:53 +00:00
<!-- var start_modal_with_id = "<%= @preview_obj.id %>"; -->
<!-- $("#"+start_modal_with_id).modal(); -->
<% if !request.xhr? %>
</textarea>
<% end %>