mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
make the file compatible with the new xml parser
This commit is contained in:
parent
07cb5b84da
commit
3d379aad12
@ -10,30 +10,34 @@
|
|||||||
var msg = document.getElementById("NetDialog:Message");
|
var msg = document.getElementById("NetDialog:Message");
|
||||||
if ( msg)
|
if ( msg)
|
||||||
{
|
{
|
||||||
var text = status.getAttribute("text");
|
var text = msg.getAttribute("text");
|
||||||
var prompt = document.getElementById("message");
|
var prompt = document.getElementById("message");
|
||||||
if ( prompt )
|
if ( prompt )
|
||||||
{
|
{
|
||||||
prompt.setAttribute( "text", text );
|
prompt.setAttribute( "text", text );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</html:script>
|
</html:script>
|
||||||
|
|
||||||
<broadcaster id="NetDialog:Message"/>
|
<broadcaster id="NetDialog:Message"/>
|
||||||
|
|
||||||
<html:table >
|
<html:table>
|
||||||
<html:tr id = message>
|
<html:tr >
|
||||||
<html:td htlm:colspan =2> Enter Password
|
<html:td html:id="message" >
|
||||||
</html:td>
|
<html:center> Enter Password </html:center>
|
||||||
<observes element="NetDialog:Message" attribute="text" onchange="onUpdate()"/>
|
<observes element="NetDialog:Message" attribute="text" onchange="onUpdate()"/>
|
||||||
|
</html:td>
|
||||||
|
|
||||||
|
|
||||||
</html:tr>
|
</html:tr>
|
||||||
<html:tr>
|
<html:tr>
|
||||||
<html:td html:valign =middle>
|
<html:td html:valign ="middle">User: </html:td>
|
||||||
User: </html:td><html:td><html:input html:name="User" html:type="text" html:id="User" > </html:input>
|
<html:td><html:input html:name="User" html:type="text" html:id="User" > </html:input>
|
||||||
</html:td>
|
</html:td>
|
||||||
</html:tr>
|
</html:tr>
|
||||||
<html:tr>
|
<html:tr>
|
||||||
<html:td html:valign =middle>
|
<html:td html:valign="middle">Password:</html:td>
|
||||||
Password:</html:td>
|
|
||||||
<html:td>
|
<html:td>
|
||||||
<html:input html:name="Password" html:type="password" html:id="Password" > </html:input>
|
<html:input html:name="Password" html:type="password" html:id="Password" > </html:input>
|
||||||
</html:td>
|
</html:td>
|
||||||
@ -41,9 +45,9 @@
|
|||||||
|
|
||||||
<html:tr>
|
<html:tr>
|
||||||
<html:td></html:td>
|
<html:td></html:td>
|
||||||
<html:td html:align=justify>
|
<html:td html:align="justify">
|
||||||
<html:button id ="CancelButton"> Cancel </html:button>
|
<html:button id ="CancelButton"> Cancel </html:button>
|
||||||
<html:button id="OKButton"> OK </html:button> </html:td>
|
<html:button id="OKButton"> OK </html:button> </html:td>
|
||||||
</html:tr>
|
</html:tr>
|
||||||
</html:table>
|
</html:table>
|
||||||
</xul:window>
|
</window>
|
||||||
|
Loading…
Reference in New Issue
Block a user