Changeset dc51fc


Ignore:
Timestamp:
Aug 13, 2008, 7:44:52 PM (11 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
34c42d
Parents:
b2a1fb
Message:

show base_id_key if debug-mode is active

Location:
chrome/content/v_identity
Files:
2 edited

Legend:

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

    rb2a1fb rdc51fc  
    4040    Obj_DebugBox : null,
    4141    Obj_DebugBoxSplitter : null,
    42 
     42    Obj_DebugBaseID : null,
     43   
    4344    versionOk : false,
    4445   
     
    6364        vI_notificationBar.Obj_DebugBox.setAttribute("hidden", !showDebugArea)
    6465        vI_notificationBar.Obj_DebugBoxSplitter.setAttribute("hidden", !showDebugArea)
     66        if (vI_notificationBar.Obj_DebugBaseID) vI_notificationBar.Obj_DebugBaseID.setAttribute("base_id_key_hidden", !showDebugArea)
    6567    },
    6668   
     
    8385        vI_notificationBar.Obj_vINotification = document.getElementById("vINotification");
    8486        vI_notificationBar.Obj_DebugBoxSplitter = document.getElementById("vIDebugBoxSplitter")
     87        vI_notificationBar.Obj_DebugBaseID = document.getElementById("msgIdentity_clone")
    8588       
    8689        vI_notificationBar.addObserver();
  • chrome/content/v_identity/v_identity.xml

    rb2a1fb rdc51fc  
    5959      <xul:label id="msgIdentity_clone_label" class="menu-description composemenu-text-2" xbl:inherits="value=accountname" crop="right"/>
    6060      <xul:spacer flex="1" /></xul:vbox>
    61 <!-- enable for debugging from here -->
    6261    <xul:vbox><xul:spacer flex="1" />
    63     <xul:label id="msgIdentity_base_id_label" class="menu-description composemenu-text-2" xbl:inherits="value=base_id_key" crop="right"/>
     62    <xul:label id="msgIdentity_base_id_label" class="menu-description composemenu-text-2" xbl:inherits="value=base_id_key,hidden=base_id_key_hidden" crop="right" hidden="true"/>
    6463    <xul:spacer flex="1" /></xul:vbox>
    65 <!-- enable for debugging till here-->
    6664    </xul:hbox>
    6765    <!-- <xul:dropmarker class="menulist-dropmarker" type="menu"/> -->
Note: See TracChangeset for help on using the changeset viewer.