Changeset ee1af2


Ignore:
Timestamp:
Jul 23, 2011, 7:04:48 PM (11 years ago)
Author:
rene <rene@…>
Branches:
ng_0.6
Children:
7c86b4
Parents:
abfdd2
Message:

prevent namespace pollution

Location:
chrome/content/v_identity
Files:
6 edited

Legend:

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

    rabfdd2 ree1af2  
    4141        var panelIndex = (tabpanel)?tabpanel:document.getElementById('prefTabbox').selectedIndex
    4242        var prefTree = document.getElementById('prefTabbox').selectedPanel.getElementsByAttribute("class", "vIprefTree")[0];
    43         var currentVersion = document.getElementById("extVersion").getAttribute("value").split(/\./);
     43        var currentVersion = document.getElementById("vI_extVersion").getAttribute("value").split(/\./);
    4444        var extVersion = currentVersion[0] + "." + currentVersion[1];
    4545        var url = "https://www.absorb.it/virtual-id/wiki/docs/" + extVersion + "/tab" + panelIndex + "/tree" + prefTree.currentIndex;
  • chrome/content/v_identity/vI_prefDialog.xul

    rabfdd2 ree1af2  
    732732</tabbox>
    733733<browserbox id="vI_remoteBrowserBox" class="vI_remoteBrowserBox" localCss="localDoc.css" flex="1" hidden="true" type="content" />
    734 <label id="extVersion" value="&vident.version;" hidden="true" />
     734<label id="vI_extVersion" value="&vident.version;" hidden="true" />
    735735</hbox>
    736736<!--
  • chrome/content/v_identity/vI_rdfDatasource.js

    rabfdd2 ree1af2  
    155155        // seamonkey doesn't have a extensionmanager, so read version of extension from hidden version-label
    156156        // var extVersion = this.extensionManager.getItemForID(this._virtualIdentityID).version
    157         var extVersion = document.getElementById("extVersion").getAttribute("value");
     157        var extVersion = document.getElementById("vI_extVersion").getAttribute("value");
    158158        return (!oldExtVersion || versionChecker.compare(oldExtVersion, extVersion) < 0)   
    159159    },
     
    317317        // seamonkey doesn't have a extensionmanager, so read version of extension from hidden version-label
    318318        // var extVersion = this.extensionManager.getItemForID(this._virtualIdentityID).version
    319         var extVersion = document.getElementById("extVersion").getAttribute("value");
     319        var extVersion = document.getElementById("vI_extVersion").getAttribute("value");
    320320        this._setRDFValue(
    321321            this._rdfService.GetResource(this._rdfNS + "virtualIdentity"), "version", extVersion)
  • chrome/content/v_identity/vI_upgrade.js

    rabfdd2 ree1af2  
    5858            nextVersion += parseInt(currentVersion[2])
    5959        else nextVersion += parseInt(currentVersion[2]) + 1
    60         var extVersion = document.getElementById("extVersion").getAttribute("value");
     60        var extVersion = document.getElementById("vI_extVersion").getAttribute("value");
    6161               
    6262        // don't show the dialog if we do a one-step upgrade
  • chrome/content/v_identity/vI_upgrade.xul

    rabfdd2 ree1af2  
    107107        oncommand="vI_upgrade.openURL('http://www.absorb.it/virtual-id')" tooltiptext="&vident.upgrade.vidLogo.tooltiptext;" />
    108108    <spacer width="10px" />
    109     <label id="extVersion" value="&vident.version;" hidden="true" />
     109    <label id="vI_extVersion" value="&vident.version;" hidden="true" />
    110110    </hbox>
    111111</wizard>
  • chrome/content/v_identity/vI_upgradeOverlay.xul

    rabfdd2 ree1af2  
    5050    <vbox id="messagepanebox" >
    5151        <!-- following element just stores the Ext-Version, seamonkey has no extensionmanager -->
    52         <label id="extVersion" value="&vident.version;" hidden="true" />
     52        <label id="vI_extVersion" value="&vident.version;" hidden="true" />
    5353        <splitter id="vIErrorBoxSplitter" hidden="true" />
    5454        <vbox id="vIErrorBox" context="ConsoleContext" sortOrder="reverse" hidden="true" />
Note: See TracChangeset for help on using the changeset viewer.