diff --git a/app/views/groups/edit.html.haml b/app/views/groups/edit.html.haml index 9bfa2861b..9810c37fd 100644 --- a/app/views/groups/edit.html.haml +++ b/app/views/groups/edit.html.haml @@ -6,18 +6,13 @@ %h1{:id => 'group_title'} Requests - .requests + .group - for request in @remote_requests .person{:id => request.person.id} = image_tag(request.person.profile.image_url(:thumb_small)) unless request.person.profile.image_url.nil? .name = request.person.real_name - - - - requests - %h1{:id => 'group_title'} Relations diff --git a/public/javascripts/group-edit.js b/public/javascripts/group-edit.js index 28ab236de..25cf7c317 100644 --- a/public/javascripts/group-edit.js +++ b/public/javascripts/group-edit.js @@ -9,10 +9,15 @@ $('#move_friends_link').live( 'click', }); $(function() { - $("li .person").draggable({ + $("li .person").draggable({ revert: true }); - $(".group ul").droppable({ + + $("li .person").draggable({ + revert: true + }); + + $(".group ul").droppable({ drop: function(event, ui) { var move = {}; diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index c4bfc4760..912f42815 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -767,7 +767,7 @@ h1.big_text :border 1px #666 solid -.group, .requests +.group :list :style none