Delete some useless JS

This commit is contained in:
Raphael Sofaer 2011-06-09 16:02:01 -07:00
parent 71dd8dc7f3
commit 0790c3397e

View file

@ -2,18 +2,6 @@
-# licensed under the Affero General Public License version 3 or later. See
-# 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_photo
= person_image_link(person, :size => :thumb_large, :to => :photos)