From f95e8c62c90d2a97d6f50ff7b1792f9d700548f8 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Fri, 7 Oct 2011 22:38:19 +0200 Subject: [PATCH] Save the right contact property --- apps/contacts/js/interface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/contacts/js/interface.js b/apps/contacts/js/interface.js index 47e9bb10b1..215c4001d9 100644 --- a/apps/contacts/js/interface.js +++ b/apps/contacts/js/interface.js @@ -129,7 +129,7 @@ $(document).ready(function(){ }); $('#contacts_setpropertyform input[type="submit"]').live('click',function(){ - $.post('ajax/setproperty.php',$('#contacts_setpropertyform').serialize(),function(jsondata){ + $.post('ajax/setproperty.php',$(this).parent('form').serialize(),function(jsondata){ if(jsondata.status == 'success'){ $('.contacts_details_property[data-checksum="'+jsondata.data.oldchecksum+'"]').replaceWith(jsondata.data.page); }