make the file compatible with the new xml parser

This commit is contained in:
davidm%netscape.com 1999-04-13 00:13:04 +00:00
parent 07cb5b84da
commit 3d379aad12

View File

@ -10,30 +10,34 @@
var msg = document.getElementById("NetDialog:Message");
if ( msg)
{
var text = status.getAttribute("text");
var text = msg.getAttribute("text");
var prompt = document.getElementById("message");
if ( prompt )
{
prompt.setAttribute( "text", text );
}
}
}
</html:script>
</html:script>
<broadcaster id="NetDialog:Message"/>
<html:table >
<html:tr id = message>
<html:td htlm:colspan =2> Enter Password
</html:td>
<observes element="NetDialog:Message" attribute="text" onchange="onUpdate()"/>
<html:table>
<html:tr >
<html:td html:id="message" >
<html:center> Enter Password </html:center>
<observes element="NetDialog:Message" attribute="text" onchange="onUpdate()"/>
</html:td>
</html:tr>
<html:tr>
<html:td html:valign =middle>
User: </html:td><html:td><html:input html:name="User" html:type="text" html:id="User" > </html:input>
<html:td html:valign ="middle">User: </html:td>
<html:td><html:input html:name="User" html:type="text" html:id="User" > </html:input>
</html:td>
</html:tr>
<html:tr>
<html:td html:valign =middle>
Password:</html:td>
<html:td html:valign="middle">Password:</html:td>
<html:td>
<html:input html:name="Password" html:type="password" html:id="Password" > </html:input>
</html:td>
@ -41,9 +45,9 @@
<html:tr>
<html:td></html:td>
<html:td html:align=justify>
<html:td html:align="justify">
<html:button id ="CancelButton"> Cancel </html:button>
<html:button id="OKButton"> OK </html:button> </html:td>
</html:tr>
</html:table>
</xul:window>
</html:table>
</window>