Changeset 9c7348


Ignore:
Timestamp:
Aug 26, 2008, 2:13:53 PM (11 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
861b8b
Parents:
79c6c5
Message:

check for quickupgrade failed if there was no previous information.

File:
1 edited

Legend:

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

    r79c6c5 r9c7348  
    4747    quick_upgrade : function() {
    4848        // seamonkey doesn't have a extensionmanager, so read version of extension from hidden version-label
    49         var currentVersion = vI_rdfDatasource.getCurrentExtFileVersion().split(/\./);
     49        var currentVersion = vI_rdfDatasource.getCurrentExtFileVersion()
     50        if (!currentVersion) return false;
     51        currentVersion = currentVersion.split(/\./);
    5052        var nextVersion = currentVersion[0] + "." + currentVersion[1] + "."
    5153        if (currentVersion[2].match(/pre/))
Note: See TracChangeset for help on using the changeset viewer.