зеркало из https://github.com/mozilla/pjs.git
Bug 239373. Assertion in nsGenericElement.cpp, the toolkit part. r=mconnor
This commit is contained in:
Родитель
063eb3f07f
Коммит
0ef67a5645
|
@ -91,12 +91,22 @@
|
|||
</body>
|
||||
</method>
|
||||
|
||||
<constructor action="var str = this.boxObject.getProperty('value');
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
var str = this.boxObject.getProperty('value');
|
||||
if (str) {
|
||||
this.inputField.value = str;
|
||||
this.boxObject.removeProperty('value');
|
||||
}"/>
|
||||
<destructor action="if (this.inputField.value) this.boxObject.setProperty('value', this.inputField.value);"/>
|
||||
}
|
||||
]]>
|
||||
</constructor>
|
||||
<destructor>
|
||||
<![CDATA[
|
||||
if (this.inputField.value)
|
||||
this.boxObject.setProperty('value', this.inputField.value);
|
||||
this.mInputField = null;
|
||||
]]>
|
||||
</destructor>
|
||||
|
||||
</implementation>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче