Sha256: 98e86c36dbadaeae1a41a455e02033991ffcd38e26e7e4df40308e324d98c3f4

Contents?: true

Size: 333 Bytes

Versions: 5

Compression:

Stored size: 333 Bytes

Contents

id = dom_id(@group)

if @group.destroyed?
  page[id].visual_effect :blind_up, :duration => 0.25
else
  page.call "crm.flick", dom_id(@group, :confirm), :remove
  page[id].visual_effect :shake, :duration => 0.25, :distance => 6
  page[:flash].replace_html flash[:warning]
  page.call "crm.flash", :warning
  flash[:warning] = nil
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fat_free_crm-0.12.3 app/views/admin/groups/destroy.js.rjs
fat_free_crm-0.12.2 app/views/admin/groups/destroy.js.rjs
fat_free_crm-0.12.1 app/views/admin/groups/destroy.js.rjs
fat_free_crm-0.12.0 app/views/admin/groups/destroy.js.rjs
fat_free_crm-0.11.4 app/views/admin/groups/destroy.js.rjs