Orbit/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 %>