Sha256: 4add5765f5dc972cd188d23ed3df100c4084e875215f38c6abc0949572ea6fe9

Contents?: true

Size: 332 Bytes

Versions: 27

Compression:

Stored size: 332 Bytes

Contents

- id = dom_id(@user)

- if @user.destroyed?
  $('##{id}').css('background-color', '#ffe4e1').slideUp(250).remove();
- else
  crm.flick('#{dom_id(@user, :confirm)}', 'remove');
  $('##{id}').effect('shake', { duration:250, distance: 6 });
  $('#flash').html('#{j flash[:warning]}');
  crm.flash('warning');
  - flash[:warning] = nil

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
fat_free_crm-0.19.2 app/views/admin/users/destroy.js.haml
fat_free_crm-0.19.0 app/views/admin/users/destroy.js.haml
fat_free_crm-0.18.2 app/views/admin/users/destroy.js.haml
fat_free_crm-0.14.2 app/views/admin/users/destroy.js.haml
fat_free_crm-0.15.2 app/views/admin/users/destroy.js.haml
fat_free_crm-0.16.4 app/views/admin/users/destroy.js.haml
fat_free_crm-0.17.3 app/views/admin/users/destroy.js.haml
fat_free_crm-0.18.1 app/views/admin/users/destroy.js.haml
fat_free_crm-0.18.0 app/views/admin/users/destroy.js.haml
fat_free_crm-0.14.1 app/views/admin/users/destroy.js.haml
fat_free_crm-0.15.1 app/views/admin/users/destroy.js.haml
fat_free_crm-0.16.3 app/views/admin/users/destroy.js.haml
fat_free_crm-0.17.2 app/views/admin/users/destroy.js.haml
fat_free_crm-0.16.2 app/views/admin/users/destroy.js.haml
fat_free_crm-0.17.1 app/views/admin/users/destroy.js.haml
fat_free_crm-0.16.1 app/views/admin/users/destroy.js.haml
fat_free_crm-0.16.0 app/views/admin/users/destroy.js.haml
fat_free_crm-0.15.0 app/views/admin/users/destroy.js.haml
fat_free_crm-0.15.0.beta.2 app/views/admin/users/destroy.js.haml
fat_free_crm-0.15.0.beta app/views/admin/users/destroy.js.haml