Changeset c0fe7f


Ignore:
Timestamp:
Oct 15, 2009, 9:38:29 PM (12 years ago)
Author:
rene <rene@…>
Branches:
lite_0.1, multiEdit, ng_0.6, ng_0.6_help, ng_0.8, ng_0.9
Children:
ef65ae
Parents:
c8d2f3
Message:

additional debug-output

File:
1 edited

Legend:

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

    rc8d2f3 rc0fe7f  
    386386        if (!autocreate && vI.preferences.getBoolPref("idSelection_ask") &&
    387387            ((allIdentities.number == 1 && vI.preferences.getBoolPref("idSelection_ask_always"))
    388                 || allIdentities.number > 1))
     388                || allIdentities.number > 1)) {
     389            for (var index = 0; index < allIdentities.number; index++) {
     390                vI_notificationBar.dump("## vI_smartIdentityReplyDialog index=" + index + ": '" + allIdentities.identityDataCollection[index].combinedName + "' "
     391                    + "(" + allIdentities.identityDataCollection[index].id.value + "," + allIdentities.identityDataCollection[index].smtp.value + ")\n");
     392            }
    389393            window.openDialog("chrome://v_identity/content/vI_smartReplyDialog.xul",0, // give the Dialog a unique id
    390394                    "chrome, dialog, modal, alwaysRaised, resizable=yes",
    391395                     allIdentities,
    392396                    /* callback: */ vI_smartIdentity.changeIdentityToSmartIdentity).focus();
     397        }
    393398        else if (autocreate || vI.preferences.getBoolPref("idSelection_autocreate")) {
    394399            vI_smartIdentity.changeIdentityToSmartIdentity(allIdentities, 0);
     
    397402   
    398403    changeIdentityToSmartIdentity : function(allIdentities, selectedValue) {
     404        vI_notificationBar.dump("## changeIdentityToSmartIdentity selectedValue=" + selectedValue + ": '" + allIdentities.identityDataCollection[selectedValue].combinedName + "' "
     405            + "(" + allIdentities.identityDataCollection[selectedValue].id.value + "," + allIdentities.identityDataCollection[selectedValue].smtp.value + ")\n");
    399406        document.getElementById("msgIdentity_clone").selectedMenuItem = allIdentities.menuItems[selectedValue];
    400        
    401407        if (document.getElementById("msgIdentity_clone").vid) {
    402408            var label=vI.elements.strings.getString("vident.smartIdentity.vIUsage");
Note: See TracChangeset for help on using the changeset viewer.