Changeset 9fb97c


Ignore:
Timestamp:
Aug 2, 2008, 5:34:30 PM (12 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
ea9884
Parents:
055153
Message:

merging of SmartReply? and Storage was broken / changed prototype

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_storage.js

    r055153 r9fb97c  
    5656        var idName = this.__keyTranslator.getIDname(this.id);
    5757        var smtpName = this.__keyTranslator.getSMTPname(this.smtp);
    58         var extras = this.extras.status();
     58        var extras = this.extras?this.extras.status():"";
    5959        return senderName + " (" +
    6060            this.__combineStrings(this.__combineStrings(idName, smtpName), extras) +  ")"
     
    119119}
    120120
    121 function identityCollection() { }
     121function identityCollection() {
     122    this.number = 0;
     123    this.emails = {};
     124    this.fullNames = {};
     125    this.combinedNames = {};
     126    this.id_keys = {};
     127    this.smtp_keys = {};
     128    this.extras = {};
     129    this.menuItems = {};
     130}
    122131identityCollection.prototype =
    123132{
    124     number : 0,
    125     emails : {},
    126     fullNames : {},
    127     combinedNames : {},
    128     id_keys : {},
    129     smtp_keys : {},
    130     extras : {},
    131     menuItems : {},
     133    number : null,
     134    emails : null,
     135    fullNames : null,
     136    combinedNames : null,
     137    id_keys : null,
     138    smtp_keys : null,
     139    extras : null,
     140    menuItems : null,
    132141   
    133142    mergeWithoutDuplicates : function(addIdentityCollection) {
Note: See TracChangeset for help on using the changeset viewer.