Changeset aa47dc


Ignore:
Timestamp:
Apr 19, 2008, 3:04:54 PM (14 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
cb203f
Parents:
e21b59
Message:

enable selection of Default Identity

File:
1 edited

Legend:

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

    re21b59 raa47dc  
    4545        document.getElementById("sender").value = window.arguments[0]["senderCol"]
    4646       
     47        var listitem = document.createElement("menuitem");
     48        listitem.setAttribute("label", document.getElementById("bundle_messenger").getString("defaultServerTag"));
     49        document.getElementById("identity_list_popup").appendChild(listitem);
     50        document.getElementById("identity_list").selectedItem = listitem;
     51        var separator = document.createElement("menuseparator");
     52        document.getElementById("identity_list_popup").appendChild(separator);
     53
    4754        FillIdentityListPopup(document.getElementById("identity_list_popup"))
    4855        var MenuItems = document.getElementById("identity_list_popup").childNodes
     56       
    4957        for (index = 0; index < MenuItems.length; index++) {
    5058            if (MenuItems[index].getAttribute("value") == window.arguments[0]["idKey"]) {
    51                      document.getElementById("identity_list").selectedItem =
     59                document.getElementById("identity_list").selectedItem =
    5260                        MenuItems[index];
    53                     break;
     61                break;
    5462            }
    5563        }
Note: See TracChangeset for help on using the changeset viewer.