Sha256: 68cb9f4866c0e2e4ca88cc5d793c8137b15f8f8a4608c876f5110abdeb1d431e

Contents?: true

Size: 689 Bytes

Versions: 13

Compression:

Stored size: 689 Bytes

Contents

page << "$('loader').style.visibility = 'hidden';"
if @errors || !@node.errors.empty?
  page.replace_html "form_errors", :text => @errors ? render_errors : error_messages_for(@node)
else
  page.replace_html 'messages', :text => "<div id='notice'>#{_('redaction saved')}</div>"
  page.replace_html 'number',   :text => @node.version.number
  page.show 'notice'
  page.visual_effect :fade, 'notice', :duration => 5.0
  if params[:node][:c_crop]
    page.replace_html 'crop_form', :partial=>'documents/crop'
    page << "new Zena.Div_editor('edit_img', 'posx', 'posy', 'width', 'height', #{@node.version.content.width / @node.version.content.width(Iformat['edit']).to_f}, 20, 220);"
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
zena-0.16.9 app/views/nodes/save_text.rjs
zena-0.16.8 app/views/nodes/save_text.rjs
zena-0.16.7 app/views/nodes/save_text.rjs
zena-0.16.6 app/views/nodes/save_text.rjs
zena-0.16.5 app/views/nodes/save_text.rjs
zena-0.16.4 app/views/nodes/save_text.rjs
zena-0.16.3 app/views/nodes/save_text.rjs
zena-0.16.2 app/views/nodes/save_text.rjs
zena-0.16.1 app/views/nodes/save_text.rjs
zena-0.16.0 app/views/nodes/save_text.rjs
zena-0.15.2 app/views/nodes/save_text.rjs
zena-0.15.1 app/views/nodes/save_text.rjs
zena-0.15.0 app/views/nodes/save_text.rjs