зеркало из https://github.com/mozilla/pjs.git
Bug 391534 - Prevent '<preference> with id='' and name='' has unknown type ''' warnings. r=Mano, a1.9=schrep
This commit is contained in:
Родитель
dadfdc463e
Коммит
35a071a7aa
|
@ -80,6 +80,11 @@
|
|||
<implementation>
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
// if the element has been inserted without the name attribute set,
|
||||
// we have nothing to do here
|
||||
if (!this.name)
|
||||
return;
|
||||
|
||||
this.preferences.rootBranchInternal
|
||||
.addObserver(this.name, this.preferences, false);
|
||||
// In non-instant apply mode, we must try and use the last saved state
|
||||
|
|
Загрузка…
Ссылка в новой задаче