Save the right contact property
This commit is contained in:
parent
8ea9c39241
commit
f95e8c62c9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue