Changeset 9f130e


Ignore:
Timestamp:
Oct 23, 2012, 12:42:49 PM (9 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
54b107
Parents:
e55f92
Message:

compatibility requirement for TB19a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/v_identity.js

    re55f92 r9f130e  
    8383        }
    8484    },
    85        
     85   
     86  // copy/pasted from MsgComposeCommands.js
     87  queryISupportsArray: function(supportsArray, iid) {
     88    var result = new Array;
     89    let count = supportsArray.Count();
     90    for (let i = 0; i < count; i++)
     91      result[i] = supportsArray.QueryElementAt(i, iid);
     92    return result;
     93  },
     94
    8695    replacement_functions : {
    8796        FillIdentityList: function(menulist) {
    8897            Log.debug("mod. FillIdentityList");
    89             var accounts = queryISupportsArray(main.accountManager.accounts,
     98            var accounts = main.queryISupportsArray(main.accountManager.accounts,
    9099                                     Components.interfaces.nsIMsgAccount);
    91100
     
    121130                    continue; } catch (e) { };
    122131
    123                 var identities = queryISupportsArray(accounts[i].identities, Components.interfaces.nsIMsgIdentity);
     132                var identities = main.queryISupportsArray(accounts[i].identities, Components.interfaces.nsIMsgIdentity);
    124133                for (var j in identities) {
    125134                    var identity = identities[j];
Note: See TracChangeset for help on using the changeset viewer.