Changeset 467dfd


Ignore:
Timestamp:
Jul 17, 2011, 4:26:12 PM (11 years ago)
Author:
rene <rene@…>
Branches:
ng_0.6
Children:
c1292b
Parents:
547421
Message:

let definitions only work from javascript 1.7on - changed into var

Location:
chrome/content/v_identity
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_prefDialog.xml

    r547421 r467dfd  
    3838        var debugNotes = vI_prefDialog.preferences.getBoolPref("debug_notification");
    3939
    40         for (let i = AccountManager.accounts.Count() - 1; i >= 0 ; i--) {
     40        for (var i = AccountManager.accounts.Count() - 1; i >= 0 ; i--) {
    4141            var account = AccountManager.accounts.QueryElementAt(i, Components.interfaces.nsIMsgAccount);
    42             for (let j = account.identities.Count() - 1; j >= 0 ; j--) {
     42            for (var j = account.identities.Count() - 1; j >= 0 ; j--) {
    4343                var identity = account.identities.QueryElementAt(j, Components.interfaces.nsIMsgIdentity);
    4444                const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
  • chrome/content/v_identity/vI_rdfAccountMismatchDialog.xml

    r547421 r467dfd  
    158158        var AccountManager = Components.classes["@mozilla.org/messenger/account-manager;1"]
    159159            .getService(Components.interfaces.nsIMsgAccountManager);
    160         for (let i = 0; i < AccountManager.accounts.Count(); i++) {
     160        for (var i = 0; i < AccountManager.accounts.Count(); i++) {
    161161            var account = AccountManager.accounts.QueryElementAt(i, Components.interfaces.nsIMsgAccount);
    162             for (let j = 0; j < account.identities.Count(); j++) {
     162            for (var j = 0; j < account.identities.Count(); j++) {
    163163                var identity = account.identities.QueryElementAt(j, Components.interfaces.nsIMsgIdentity);
    164164                const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
  • chrome/content/v_identity/vI_rdfDatasource.js

    r547421 r467dfd  
    509509        var AccountManager = Components.classes["@mozilla.org/messenger/account-manager;1"]
    510510            .getService(Components.interfaces.nsIMsgAccountManager);
    511         for (let i = 0; i < AccountManager.accounts.Count(); i++) {
     511        for (var i = 0; i < AccountManager.accounts.Count(); i++) {
    512512            var account = AccountManager.accounts.QueryElementAt(i, Components.interfaces.nsIMsgAccount);
    513             for (let j = 0; j < account.identities.Count(); j++) {
     513            for (var j = 0; j < account.identities.Count(); j++) {
    514514                var identity = account.identities.QueryElementAt(j, Components.interfaces.nsIMsgIdentity);
    515515//                 if (vI_notificationBar) vI_notificationBar.dump("## vI_rdfDatasource: storeAccounts identity store id " + identity.key + "\n");
     
    822822        var AccountManager = Components.classes["@mozilla.org/messenger/account-manager;1"]
    823823            .getService(Components.interfaces.nsIMsgAccountManager);
    824         for (let i = 0; i < AccountManager.accounts.Count(); i++) {
     824        for (var i = 0; i < AccountManager.accounts.Count(); i++) {
    825825            var account = AccountManager.accounts.QueryElementAt(i, Components.interfaces.nsIMsgAccount);
    826             for (let j = 0; j < account.identities.Count(); j++) {
     826            for (var j = 0; j < account.identities.Count(); j++) {
    827827                var identity = account.identities.QueryElementAt(j, Components.interfaces.nsIMsgIdentity);
    828828                if (name == identity.identityName || (fullName == identity.fullName && email == identity.email)) return identity.key;
Note: See TracChangeset for help on using the changeset viewer.