JS fix on address book creation.

remotes/origin/stable4
Thomas Tanghus 13 years ago
parent a79f5d40de
commit e0c92662f8
  1. 2
      apps/contacts/js/contacts.js

@ -1076,7 +1076,7 @@ Contacts={
$.post(url, { id: bookid, name: displayname, active: active, description: description },
function(jsondata){
if(jsondata.status == 'success'){
$(button).closest('tr').prev().html(data.page).show().next().remove();
$(button).closest('tr').prev().html(jsondata.page).show().next().remove();
Contacts.UI.Contacts.update();
} else {
Contacts.UI.messageBox(t('contacts', 'Error'), jsondata.data.message);

Loading…
Cancel
Save