Bug 239373. Assertion in nsGenericElement.cpp, the toolkit part. r=mconnor

This commit is contained in:
mvl%exedo.nl 2005-11-22 20:33:32 +00:00
Родитель d88cb10fa4
Коммит ec4da1e91e
1 изменённых файлов: 16 добавлений и 6 удалений

Просмотреть файл

@ -91,12 +91,22 @@
</body>
</method>
<constructor action="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>
<![CDATA[
var str = this.boxObject.getProperty('value');
if (str) {
this.inputField.value = str;
this.boxObject.removeProperty('value');
}
]]>
</constructor>
<destructor>
<![CDATA[
if (this.inputField.value)
this.boxObject.setProperty('value', this.inputField.value);
this.mInputField = null;
]]>
</destructor>
</implementation>