Changeset 7c86b4


Ignore:
Timestamp:
Jul 23, 2011, 7:09:56 PM (11 years ago)
Author:
rene <rene@…>
Branches:
ng_0.6
Children:
997e80
Parents:
ee1af2
Message:

prevent namespace pollution

Location:
chrome/content/v_identity
Files:
2 edited

Legend:

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

    ree1af2 r7c86b4  
    3939        var browserElem = document.getElementById("vI_remoteBrowserBox");
    4040        if (browserElem.getAttribute("hidden")) return;             // don't load any url if browser is hidden
    41         var panelIndex = (tabpanel)?tabpanel:document.getElementById('prefTabbox').selectedIndex
    42         var prefTree = document.getElementById('prefTabbox').selectedPanel.getElementsByAttribute("class", "vIprefTree")[0];
     41        var panelIndex = (tabpanel)?tabpanel:document.getElementById('vI_prefTabbox').selectedIndex
     42        var prefTree = document.getElementById('vI_prefTabbox').selectedPanel.getElementsByAttribute("class", "vIprefTree")[0];
    4343        var currentVersion = document.getElementById("vI_extVersion").getAttribute("value").split(/\./);
    4444        var extVersion = currentVersion[0] + "." + currentVersion[1];
     
    289289       
    290290        initTreeValues : function() {
    291             var prefTrees = document.getElementById("prefTabbox").getElementsByAttribute("class", "vIprefTree");
     291            var prefTrees = document.getElementById("vI_prefTabbox").getElementsByAttribute("class", "vIprefTree");
    292292            for (var i=0 ; i<prefTrees.length; i++) prefTrees[i].currentIndex = 0;
    293293        }
  • chrome/content/v_identity/vI_prefDialog.xul

    ree1af2 r7c86b4  
    8383                prefstring="stationeryFolderPickerMode"/>
    8484<hbox>
    85 <tabbox id="prefTabbox" class="viewSelector ">
     85<tabbox id="vI_prefTabbox" class="viewSelector ">
    8686    <hbox>
    8787    <vbox>
     
    9494        <hbox>
    9595            <radio pane="source" id="sourceEmail"
    96                 oncommand="document.getElementById('prefTabbox').selectedIndex = 0; vI_prefDialog.updateHelpUrl();"
     96                oncommand="document.getElementById('vI_prefTabbox').selectedIndex = 0; vI_prefDialog.updateHelpUrl();"
    9797                tooltiptext="&vI_prefDialog.tabbox.tab0.label;" />
    9898            <vbox><spacer flex="1"/><image class="arrow" id="toSelection" /><spacer flex="1"/></vbox>
    9999            <radio pane="source" id="selection"
    100                 oncommand="document.getElementById('prefTabbox').selectedIndex = 1; vI_prefDialog.updateHelpUrl();"
     100                oncommand="document.getElementById('vI_prefTabbox').selectedIndex = 1; vI_prefDialog.updateHelpUrl();"
    101101                tooltiptext="&vI_prefDialog.tabbox.tab1.label;" />
    102102            <vbox><spacer flex="1"/><image class="arrow" id="toCompose" /><spacer flex="1"/></vbox>
    103103            <radio pane="source" id="composeDialog"
    104                 oncommand="document.getElementById('prefTabbox').selectedIndex = 2; vI_prefDialog.updateHelpUrl();"
     104                oncommand="document.getElementById('vI_prefTabbox').selectedIndex = 2; vI_prefDialog.updateHelpUrl();"
    105105                tooltiptext="&vI_prefDialog.tabbox.tab2.label;" />
    106106            <vbox><spacer flex="1"/><image class="arrow" id="toSend" /><spacer flex="1"/></vbox>
    107107            <radio pane="source" id="emailOut"
    108                 oncommand="document.getElementById('prefTabbox').selectedIndex = 3; vI_prefDialog.updateHelpUrl();"
     108                oncommand="document.getElementById('vI_prefTabbox').selectedIndex = 3; vI_prefDialog.updateHelpUrl();"
    109109                tooltiptext="&vI_prefDialog.tabbox.tab3.label;" />
    110110        </hbox>
     
    114114            <vbox><spacer flex="1"/><image class="arrow" id="storageUp" /><spacer flex="1"/></vbox>
    115115            <radio pane="source" id="storageOut"
    116                 oncommand="document.getElementById('prefTabbox').selectedIndex = 4; vI_prefDialog.updateHelpUrl();"
     116                oncommand="document.getElementById('vI_prefTabbox').selectedIndex = 4; vI_prefDialog.updateHelpUrl();"
    117117                tooltiptext="&vI_prefDialog.tabbox.tab4.label;" />
    118118            <vbox><spacer flex="1"/><image class="arrow" id="storageUpDown" /><spacer flex="1"/></vbox>
     
    124124            <spacer flex="1"/>
    125125            <hbox><spacer flex="1"/><radio pane="source" id="options"
    126                 oncommand="document.getElementById('prefTabbox').selectedIndex = 5; vI_prefDialog.updateHelpUrl();"
     126                oncommand="document.getElementById('vI_prefTabbox').selectedIndex = 5; vI_prefDialog.updateHelpUrl();"
    127127                tooltiptext="&vI_prefDialog.tabbox.tab5.label;" />
    128128            </hbox>
Note: See TracChangeset for help on using the changeset viewer.