This is just some static backup of the original site, don't expect every link to work!

Ignore:
Timestamp:
Sep 25, 2011, 9:23:06 PM (11 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
284956
Parents:
7666cb
Message:

compatibility for conversation plugin

File:
1 edited

Legend:

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

    r7666cb r9cedc0  
    5959            nextVersion += parseInt(currentVersion[2])
    6060        else nextVersion += parseInt(currentVersion[2]) + 1
    61         var extVersion = document.getElementById("extVersion").getAttribute("value");
    62                
     61           
     62        let window = Cc['@mozilla.org/appshell/window-mediator;1']
     63            .getService(Ci.nsIWindowMediator)
     64            .getMostRecentWindow("mail:3pane");
     65        var extVersion = window.virtualIdentityExtension.extensionVersion;
     66       
    6367        // don't show the dialog if we do a one-step upgrade
    6468        if (upgrade.versionChecker.compare(extVersion, nextVersion) <= 0) {
Note: See TracChangeset for help on using the changeset viewer.