Changeset acf7ad
- Timestamp:
- Aug 25, 2018, 12:04:24 PM (2 years ago)
- Branches:
- ng_0.9
- Children:
- d0fa65
- Parents:
- ee2df4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/vI_identityData.js
ree2df4 racf7ad 169 169 return new identityData(this._currentWindow, this.email, this.fullName, this.id.key, this.smtp.key, this.extras ? this.extras.getDuplicate() : null, 170 170 this.sideDescription, this.existingID); 171 }, 172 173 takeOverAvailableData: function(identityData) { 174 if (identityData.email) 175 this.email = identityData.email; 176 if (identityData.fullName) 177 this.fullName = identityData.fullName; 178 if (identityData.id.key) 179 this.id.key = identityData.id.key; 180 if (identityData.smtp.key) 181 this.smtp.key = identityData.smtp.key; 182 if (identityData.sideDescription) 183 this.sideDescription = identityData.sideDescription; 184 if (identityData.extras) 185 this.extras.copy(identityData.extras); 171 186 }, 172 187 … … 447 462 _key: null, 448 463 _value: null, 464 _accountkey: null, 449 465 450 466 set key(key) { … … 455 471 if (this._value == null) var dummy = this.value; 456 472 return this._key 473 }, 474 get accountkey() { 475 if (this._value == null) var dummy = this.value; 476 return this._accountkey 457 477 }, 458 478 get value() { … … 470 490 if (this._key == identity.key) { 471 491 this._value = identity.identityName; 492 this._accountkey = account.key; 472 493 break; 473 494 } 474 495 } 475 496 } 476 if (!this._value) this._key = null; 497 if (!this._value) { 498 this._key = null; 499 this._accountkey = null; 500 } 477 501 } 478 502 return this._value;
Note: See TracChangeset
for help on using the changeset viewer.