bugfix: removed contacts don't come back after restart

This commit is contained in:
Rodolphe Breard 2012-12-13 11:58:04 +01:00
parent c50f57fcfe
commit b32e51913a

View file

@ -67,6 +67,7 @@ ContactList.prototype.rmContact = function(name) {
if (this.lst.children[i].children[0].innerHTML === name) { if (this.lst.children[i].children[0].innerHTML === name) {
this.lst.removeChild(this.lst.children[i]); this.lst.removeChild(this.lst.children[i]);
delete this.contacts[name]; delete this.contacts[name];
this.save();
break ; break ;
} }
} }