Changeset b3755b


Ignore:
Timestamp:
Sep 16, 2008, 11:00:53 AM (13 years ago)
Author:
rene <rene@…>
Branches:
lite_0.1, multiEdit, ng_0.6, ng_0.6_help, ng_0.8, ng_0.9
Children:
643bca
Parents:
67ba6a
Message:

changed labels to desciption for linebreaks

Location:
chrome/content/v_identity
Files:
2 edited

Legend:

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

    r67ba6a rb3755b  
    2424
    2525var vI_Dialog = {
     26    setDescription : function(object, description) {
     27        var new_text = document.createTextNode(description);
     28        object.appendChild(new_text);
     29    },
     30
    2631    init : function(warning) {
    27         document.getElementById("vI_Dialog_title").setAttribute("value", warning.title);
    28         document.getElementById("vI_Dialog_recLabel").setAttribute("value", warning.recLabel);
    29         document.getElementById("vI_Dialog_recipient").setAttribute("value", warning.recipient);
     32        vI_Dialog.setDescription(document.getElementById("vI_Dialog_title"), warning.title);
     33        vI_Dialog.setDescription(document.getElementById("vI_Dialog_recLabel"), warning.recLabel);
     34        vI_Dialog.setDescription(document.getElementById("vI_Dialog_recipient"), warning.recipient);
    3035        vI_htmlTextBox.init("vI_Dialog_browser", null, warning.warning, warning.css);       
    31         document.getElementById("vI_Dialog_query").setAttribute("value", warning.query);
     36        vI_Dialog.setDescription(document.getElementById("vI_Dialog_query"), warning.query);
    3237    }
    3338}
  • chrome/content/v_identity/vI_Dialog.xul

    r67ba6a rb3755b  
    4242    <script type="application/x-javascript"
    4343        src="chrome://v_identity/content/vI_htmlTextBox.js" />
    44     <label id="vI_Dialog_title" />
    45     <label id="vI_Dialog_recLabel" />
    46     <label id="vI_Dialog_recipient" />
     44    <description id="vI_Dialog_title" />
     45    <description id="vI_Dialog_recLabel" />
     46    <description id="vI_Dialog_recipient" />
    4747    <browser id="vI_Dialog_browser" disablehistory="true" flex="1" />
    48     <label id="vI_Dialog_query" />
     48    <description id="vI_Dialog_query" />
    4949</dialog>
Note: See TracChangeset for help on using the changeset viewer.