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