9 lines
297 B
Plaintext
9 lines
297 B
Plaintext
<% if !request.xhr? %>
|
|
<textarea>
|
|
<% end %>
|
|
$('#show_preview').html('<%=escape_javascript(render :partial=>"/shared/preview/modal_preview") %>');
|
|
<!-- var start_modal_with_id = "<%= @preview_obj.id %>"; -->
|
|
<!-- $("#"+start_modal_with_id).modal(); -->
|
|
<% if !request.xhr? %>
|
|
</textarea>
|
|
<% end %> |