toggle address book entry digest error.

This commit is contained in:
Gustavo Maximiliano Cortez 2014-11-15 03:39:36 -03:00
parent fe0a97d3d5
commit 15d7eb9e21
1 changed files with 1 additions and 1 deletions

View File

@ -2693,7 +2693,7 @@ Wallet.prototype.verifyAddressbookEntry = function(rcvEntry, senderId, key) {
Wallet.prototype.toggleAddressBookEntry = function(key) {
if (!key) throw new Error('Key is required');
this.addressBook[key].hidden = !this.addressBook[key].hidden;
this.emitAndKeepAlive('addressBookUpdated');
this.emitAndKeepAlive('addressBookUpdated', true);
};
/**