Changeset 0f72bb


Ignore:
Timestamp:
Aug 25, 2011, 7:27:06 PM (9 years ago)
Author:
rene <rene@…>
Branches:
ng_0.8, ng_0.9
Children:
6a3ad9
Parents:
3e958f
Message:

small bugfixes

Location:
chrome/content/v_identity
Files:
2 edited

Legend:

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

    r3e958f r0f72bb  
    339339                    "?(and(DisplayName,=," + encodeURIComponent(storage.__getMailListName(recipient)) + ")(IsMailList,=,TRUE))");
    340340                if (abdirectory) {
    341                     let cards = abdirectory.childCards;
    342                     if (cards.hasMoreElements()) return true;   // only interested if there is at least one element...
     341                    try {   // just try, sometimes there are no childCards at all...
     342                        let cards = abdirectory.childCards;
     343                        if (cards.hasMoreElements()) return true;   // only interested if there is at least one element...
     344                    } catch(e) { }
    343345                }
    344346            }
  • chrome/content/v_identity/v_identity.xml

    r3e958f r0f72bb  
    5757    <method name="removeTooltip">
    5858    <parameter name="randID" />
    59             <body><![CDATA[
    60         if (randID) this.removeChild(document.getElementById(randID))
     59        <body><![CDATA[
     60        if (randID) {
     61            var randIDelem = document.getElementById(randID);
     62            if (randIDelem) this.removeChild(randIDelem);
     63        }
    6164        ]]></body>
    6265    </method>
Note: See TracChangeset for help on using the changeset viewer.