Changeset b24a38


Ignore:
Timestamp:
Aug 11, 2008, 5:56:41 PM (11 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
e19e3e
Parents:
04b81d
Message:

use statusmenu as indicator if base_id should be stored

File:
1 edited

Legend:

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

    r04b81d rb24a38  
    205205    updateRDFFromVIdentity : function(recDescription, recType) {
    206206        var address = vI_helper.getAddress();   
    207         var id = vI_msgIdentityClone.elements.Obj_MsgIdentity_clone.base_id_key;
    208         if (!id) id = vI_msgIdentityClone.elements.Obj_MsgIdentity_clone.getAttribute("value");
    209         // unset id if using default identity
    210         if (id == gAccountManager.defaultAccount.defaultIdentity.key) id = null;
     207        var id = "";
     208        if (vI_statusmenu.objSaveBaseIDMenuItem.getAttribute("checked") == "true") {
     209            vI_notificationBar.dump("## vI_rdfDatasource: updateRDFFromVIdentity: storing base identity.\n");
     210            id = vI_msgIdentityClone.elements.Obj_MsgIdentity_clone.base_id_key;
     211        }
     212
    211213        var smtp = vI_smtpSelector.elements.Obj_SMTPServerList.selectedItem.getAttribute("key");
    212214        var extras = new vI_storageExtras();
Note: See TracChangeset for help on using the changeset viewer.