green for the night

This commit is contained in:
Dan Hansen 2011-01-22 01:16:52 -06:00
parent 67100aa7bb
commit 8619a2035c
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ var AspectEdit = {
if (person.attr('data-aspect_id') != undefined && // a request doesn't have a data-aspect_id, but an existing contact does if (person.attr('data-aspect_id') != undefined && // a request doesn't have a data-aspect_id, but an existing contact does
dropzone.attr('data-aspect_id') != person.attr('data-aspect_id')) { dropzone.attr('data-aspect_id') != person.attr('data-aspect_id')) {
$.ajax({ $.ajax({
url: "/aspects/move_contact.json", url: "/aspects/move_contact/",
data: { data: {
"person_id": person.attr('data-guid'), "person_id": person.attr('data-guid'),
"from": person.attr('data-aspect_id'), "from": person.attr('data-aspect_id'),

View file

@ -210,7 +210,7 @@ describe AspectsController do
:person_id => @person.id, :person_id => @person.id,
:from => @aspect0.id, :from => @aspect0.id,
:to => :to =>
{:to => @aspect1.id}, {:to => @aspect1.id}
} }
end end
it 'calls the move_contact_method' do it 'calls the move_contact_method' do