Sha256: 3cf6ae761d6caf40b2191e9269984f6424b741a15924e651063f947fb2534bd6

Contents?: true

Size: 469 Bytes

Versions: 15

Compression:

Stored size: 469 Bytes

Contents

page.replace_html 'crop_form', :partial=>'documents/crop', :locals => {:node => @node, :img_id => 'edit_img'}
page.insert_html :top, 'crop_form', :inline => %Q{<%= link_to_function(_('cancel'), "['crop', 'crop_form'].each(Element.toggle);$('crop_form').innerHTML = '';")%>}
page.toggle 'crop_form', 'crop'
page << "new Zena.Div_editor('edit_img', 'posx', 'posy', 'width', 'height', #{@node.width / @node.width(Iformat['edit']).to_f});"
page << "self.resizeTo(520,770);"

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
zena-1.2.8 app/views/documents/crop_form.rjs
zena-1.2.7 app/views/documents/crop_form.rjs
zena-1.2.6 app/views/documents/crop_form.rjs
zena-1.2.5 app/views/documents/crop_form.rjs
zena-1.2.4 app/views/documents/crop_form.rjs
zena-1.2.3 app/views/documents/crop_form.rjs
zena-1.2.2 app/views/documents/crop_form.rjs
zena-1.2.1 app/views/documents/crop_form.rjs
zena-1.2.0 app/views/documents/crop_form.rjs
zena-1.1.3 app/views/documents/crop_form.rjs
zena-1.1.2 app/views/documents/crop_form.rjs
zena-1.1.1 app/views/documents/crop_form.rjs
zena-1.1.0 app/views/documents/crop_form.rjs
zena-1.0.0 app/views/documents/crop_form.rjs
zena-1.0.0.rc3 app/views/documents/crop_form.rjs