diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-10-07 22:38:19 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-10-07 22:38:19 +0200 |
commit | f95e8c62c90d2a97d6f50ff7b1792f9d700548f8 (patch) | |
tree | 2a8df2b1dad820beba21a5a0e5f75b0c15aab64f /apps | |
parent | 8ea9c39241954228a216415d6d0e6859243c7360 (diff) | |
download | nextcloud-server-f95e8c62c90d2a97d6f50ff7b1792f9d700548f8.tar.gz nextcloud-server-f95e8c62c90d2a97d6f50ff7b1792f9d700548f8.zip |
Save the right contact property
Diffstat (limited to 'apps')
-rw-r--r-- | apps/contacts/js/interface.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/js/interface.js b/apps/contacts/js/interface.js index 47e9bb10b1f..215c4001d9e 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); } |