mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 14:02:47 +00:00
e37e3055a2
in the new profile xul, disable the buttons when they should be and ignore clicks if the buttons are disabled.
37 lines
1.4 KiB
XML
37 lines
1.4 KiB
XML
<?xml version="1.0"?>
|
|
<?xml-stylesheet href="chrome://global/skin/xul.css" type="text/css"?>
|
|
<?xml-stylesheet href="cpw.css" type="text/css"?>
|
|
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://profile/locale/en-US/cpw.dtd" >
|
|
|
|
<window title="&window.title.label;" style="width: 100%; height: 100%" align="vertical"
|
|
xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
onload="loadPage('test-content1_1.xul')"
|
|
width="500" height="400">
|
|
|
|
<html:script src="cpw.js" />
|
|
|
|
<tabcontrol align="vertical">
|
|
<tabbox align="horizontal">
|
|
<tab onclick="loadPage('test-content1_1.xul');">&newprofile.title;</tab>
|
|
</tabbox>
|
|
|
|
<tabpanel />
|
|
</tabcontrol>
|
|
|
|
<html:iframe src="about:blank" flex="100%" name="content" id="content" scrolling="auto"/>
|
|
|
|
<box align="horizontal">
|
|
<titledbutton id="back" value="&back.label;" onclick="onBack()" align="left" disabled="true" style="margin-top: 1em;"/>
|
|
<titledbutton id="next" value="&next.label;" onclick="onNext()" align="left" style="margin-top: 1em;"/>
|
|
<titledbutton id="cancel" value="&cancel.label;" onclick="cancelApp()" align="left" style=" margin-top: 1em;"/>
|
|
<titledbutton id="finish" value="&finish.label;" onclick="Finish(opener)" disabled="true" align="left" style=" margin-top: 1em;"/>
|
|
|
|
</box>
|
|
|
|
|
|
</window>
|