Bug 954614 - Fix 'Reference to undefined property' JS warnings in buddytooltip.xml, blist.js and account.xml, r=florian.
This commit is contained in:
Родитель
e6361e5f1e
Коммит
fe5ef63146
|
@ -244,7 +244,8 @@
|
|||
<![CDATA[
|
||||
// If we have a reconnect timer, stop it:
|
||||
// it will throw errors otherwise (see bug 480).
|
||||
// clearInterval is harmless if the timer doesn't exist.
|
||||
if (!this.reconnectUpdateInterval)
|
||||
return;
|
||||
clearInterval(this.reconnectUpdateInterval);
|
||||
delete this.reconnectUpdateInterval;
|
||||
]]>
|
||||
|
|
|
@ -584,6 +584,7 @@ var buddyList = {
|
|||
this.displayNameRefreshTimer();
|
||||
},
|
||||
|
||||
_stopEditDisplayNameTimeout: 0,
|
||||
displayNameRefreshTimer: function bl_displayNameRefreshTimer() {
|
||||
const timeBeforeAutoValidate = 20 * 1000;
|
||||
clearTimeout(this._stopEditDisplayNameTimeout);
|
||||
|
|
|
@ -86,6 +86,7 @@
|
|||
</getter>
|
||||
</property>
|
||||
|
||||
<field name="_buddy">null</field>
|
||||
<property name="buddy" onget="return this._buddy;">
|
||||
<setter>
|
||||
<![CDATA[
|
||||
|
@ -102,6 +103,7 @@
|
|||
</setter>
|
||||
</property>
|
||||
|
||||
<field name="_contact">null</field>
|
||||
<property name="contact" onget="return this._contact;">
|
||||
<setter>
|
||||
<![CDATA[
|
||||
|
@ -131,6 +133,7 @@
|
|||
]]></body>
|
||||
</method>
|
||||
|
||||
<field name="_elt">null</field>
|
||||
<property name="elt">
|
||||
<getter>
|
||||
<![CDATA[
|
||||
|
|
Загрузка…
Ссылка в новой задаче