Sha256: 1f802253cd3fb8e23a8475bbda9ad5157a823d6f45155816182e58eb4bd04fe2

Contents?: true

Size: 592 Bytes

Versions: 12

Compression:

Stored size: 592 Bytes

Contents

<%= content_for :javascript_footer do %>
  <script type="text/javascript">
    this.parent.closeGenericModal();

    // var heading = "Crop Document";
    // var bodyContent = "<%#= escape_javascript(render(:partial=>'crop_form')) %>";
    // this.parent.showGenericModal(heading, bodyContent);
    // this.parent.cropDocument("form_crop_photo");

    this.parent.$(".<%= @resource.id %>-large-document").attr("src", "<%= @document.document.large.url %>");
    this.parent.$(".<%= @resource.id %>-small-document").attr("src", "<%= @document.document.small.url %>");
    
  </script>
<% end %>

Version data entries

12 entries across 6 versions & 1 rubygems

Version Path
kuppayam-0.1.5 app/views/kuppayam/import_data/update.html.erb
kuppayam-0.1.5 app/views/kuppayam/documents/update.html.erb
kuppayam-0.1.4dev app/views/kuppayam/documents/update.html.erb
kuppayam-0.1.4dev app/views/kuppayam/import_data/update.html.erb
kuppayam-0.1.4 app/views/kuppayam/documents/update.html.erb
kuppayam-0.1.4 app/views/kuppayam/import_data/update.html.erb
kuppayam-0.1.3 app/views/kuppayam/documents/update.html.erb
kuppayam-0.1.3 app/views/kuppayam/import_data/update.html.erb
kuppayam-0.1.2 app/views/kuppayam/import_data/update.html.erb
kuppayam-0.1.2 app/views/kuppayam/documents/update.html.erb
kuppayam-0.1.1 app/views/kuppayam/documents/update.html.erb
kuppayam-0.1.1 app/views/kuppayam/import_data/update.html.erb