Delete some useless JS
This commit is contained in:
parent
71dd8dc7f3
commit
0790c3397e
1 changed files with 0 additions and 12 deletions
|
|
@ -2,18 +2,6 @@
|
||||||
-# licensed under the Affero General Public License version 3 or later. See
|
-# licensed under the Affero General Public License version 3 or later. See
|
||||||
-# the COPYRIGHT file.
|
-# the COPYRIGHT file.
|
||||||
|
|
||||||
- content_for :head do
|
|
||||||
:javascript
|
|
||||||
$(document).ready(function(){
|
|
||||||
$('.delete').bind('ajax:success', function() {
|
|
||||||
$(this).closest('li').fadeOut(200);
|
|
||||||
});
|
|
||||||
$('.delete').bind('ajax:failure', function() {
|
|
||||||
alert("#{t('status_messages.destroy.failure')}");
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
#profile
|
#profile
|
||||||
.profile_photo
|
.profile_photo
|
||||||
= person_image_link(person, :size => :thumb_large, :to => :photos)
|
= person_image_link(person, :size => :thumb_large, :to => :photos)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue