Changeset d66590


Ignore:
Timestamp:
Mar 26, 2008, 10:54:37 AM (14 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
2c362b
Parents:
324912
Message:

bugfix to work with empty fullNames

File:
1 edited

Legend:

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

    r324912 rd66590  
    377377   
    378378    __combineNames : function (fullName, email) {
    379         if (fullName.replace(/^\s+|\s+$/g,"")) return fullName.replace(/^\s+|\s+$/g,"") + " <" + email.replace(/^\s+|\s+$/g,"") + ">"
     379        if (fullName && fullName.replace(/^\s+|\s+$/g,"")) return fullName.replace(/^\s+|\s+$/g,"") + " <" + email.replace(/^\s+|\s+$/g,"") + ">"
    380380        else return email.replace(/^\s+|\s+$/g,"")
    381381    },
Note: See TracChangeset for help on using the changeset viewer.