Bug 225840 clean up after <window> to <dialog> conversion p=gautheri@noos.fr r=me sr=ben a=asa

This commit is contained in:
neil%parkwaycc.co.uk 2003-12-01 23:44:39 +00:00
parent f763078ff6
commit eebf110595
4 changed files with 10 additions and 16 deletions

View File

@ -43,12 +43,10 @@
<dialog id="privacySettings"
buttons="accept,cancel,help"
class="dialog"
title="&windowtitle.label;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical"
onload="init();"
ondialogaccept="return onOK(event);"
ondialogaccept="return onOK();"
ondialoghelp="return doHelpButton();"
style="width: 45em;">
@ -145,8 +143,6 @@
]]>
</script>
<keyset id="dialogKeys"/>
<groupbox orient="vertical">
<caption label="&privacyLevel.label;"/>

View File

@ -43,16 +43,15 @@
<dialog id="p3pDialog"
buttons="accept,cancel,extra1,extra2,help"
buttonalign="center"
acceptLabel="&p3pDialogOff.label;"
cancelLabel="&p3pDialogClose.label;"
extra1Label="&p3pDialogViewCookies.label;"
extra2Label="&p3pDialogViewLevels.label;"
class="dialog"
title="&p3pDialogTitle.label;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical"
onload="init();"
ondialogaccept="P3POff();"
ondialogaccept="return P3POff();"
ondialogextra1="ViewCookieManager();"
ondialogextra2="ViewPrivacyLevels();"
ondialoghelp="return doHelpButton();"
@ -93,6 +92,8 @@
pref = pref.getService();
pref = pref.QueryInterface(Components.interfaces.nsIPrefBranch);
pref.setIntPref("network.cookie.cookieBehavior", 0);
return true;
}
function doHelpButton()

View File

@ -43,12 +43,10 @@
<dialog id="privacySettings"
buttons="accept,cancel,help"
class="dialog"
title="&windowtitle.label;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical"
onload="init();"
ondialogaccept="return onOK(event);"
ondialogaccept="return onOK();"
ondialoghelp="return doHelpButton();"
style="width: 45em;">
@ -145,8 +143,6 @@
]]>
</script>
<keyset id="dialogKeys"/>
<groupbox orient="vertical">
<caption label="&privacyLevel.label;"/>

View File

@ -43,16 +43,15 @@
<dialog id="p3pDialog"
buttons="accept,cancel,extra1,extra2,help"
buttonalign="center"
acceptLabel="&p3pDialogOff.label;"
cancelLabel="&p3pDialogClose.label;"
extra1Label="&p3pDialogViewCookies.label;"
extra2Label="&p3pDialogViewLevels.label;"
class="dialog"
title="&p3pDialogTitle.label;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical"
onload="init();"
ondialogaccept="P3POff();"
ondialogaccept="return P3POff();"
ondialogextra1="ViewCookieManager();"
ondialogextra2="ViewPrivacyLevels();"
ondialoghelp="return doHelpButton();"
@ -93,6 +92,8 @@
pref = pref.getService();
pref = pref.QueryInterface(Components.interfaces.nsIPrefBranch);
pref.setIntPref("network.cookie.cookieBehavior", 0);
return true;
}
function doHelpButton()