Permalink
Browse files

Bug 980089 - fix regression from bug 970605 (plenty of 'this.contact …

…is undefined' errors in the contacts window), r=clokep.
  • Loading branch information...
1 parent 87b2b28 commit 21f092b93efe98c6c74f0f94e81792f1065171b6 @fqueze fqueze committed Mar 5, 2014
View
2 im/content/blist.js
@@ -146,7 +146,7 @@ buddyListContextMenu.prototype = {
deleteButton, null, null, null, {}))
return;
- this.target.remove();
+ this.target.delete();
},
addTag: function blcm_addTag(aTag) {
// If the contact already has the tag, addTag will return early.
View
2 im/content/buddy.xml
@@ -126,7 +126,7 @@
</body>
</method>
- <method name="remove">
+ <method name="delete">
<body>
<![CDATA[
this.buddy.remove();
View
2 im/content/contact.xml
@@ -343,7 +343,7 @@
</body>
</method>
- <method name="remove">
+ <method name="delete">
<body>
<![CDATA[
this.contact.remove();
View
2 mail/components/im/content/chat-messenger-overlay.js
@@ -67,7 +67,7 @@ buddyListContextMenu.prototype = {
deleteButton, null, null, null, {}))
return;
- this.target.remove();
+ this.target.delete();
}
};
View
2 mail/components/im/content/imcontact.xml
@@ -156,7 +156,7 @@
</body>
</method>
- <method name="remove">
+ <method name="delete">
<body>
<![CDATA[
this.contact.remove();

0 comments on commit 21f092b

Please sign in to comment.