Sha256: d43b82a6b5554dab611ab241a799456b58935f5c22213dcd4344a4889f4949d1

Contents?: true

Size: 401 Bytes

Versions: 13

Compression:

Stored size: 401 Bytes

Contents

if params[:dom_id]
  update_page_content(page, @node)
else
  if @errors || !@node.errors.empty?
    page.replace_html 'link_errors', :inline=> @errors ? render_errors : error_messages_for(@node)
  else
    page.replace_html 'link_errors', :inline=>''
    page.visual_effect :highlight, "link#{@link[:id]}", :duration => 0.3
    page.visual_effect :fade, "link#{@link[:id]}", :duration => 0.5
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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