mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Ongoing work for spam filtering GUI (bug 169638); not yet turned on in default builds. Fix Junk Mail dialog to always show content, not just the initial time it comes up. r/sr=sspitzer@netscape.com; a=asa@mozilla.org
This commit is contained in:
parent
1eb6ed7c4b
commit
d6adfdc26f
@ -8,6 +8,8 @@ function onJunkMailLoad()
|
||||
// XXX todo, what if no folder?
|
||||
setupForAccountFromFolder(window.arguments[0].folder.URI);
|
||||
}
|
||||
|
||||
doSetOKCancel(onAccept, onCancel, doHelpButton);
|
||||
}
|
||||
|
||||
function onServerClick(event)
|
||||
@ -175,4 +177,11 @@ function conditionallyEnableUI(id)
|
||||
function doHelpButton()
|
||||
{
|
||||
// implement help
|
||||
|
||||
return false; // don't close the top-level window
|
||||
}
|
||||
|
||||
function onCancel()
|
||||
{
|
||||
return true; // close the top-level window
|
||||
}
|
||||
|
@ -8,16 +8,13 @@
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://messenger/locale/junkMail.dtd">
|
||||
|
||||
<dialog id="junkMail"
|
||||
<window id="junkMail"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:nc="http://home.netscape.com/NC-rdf#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
windowtype="mailnews:junk"
|
||||
title="&window.title;"
|
||||
onload="onJunkMailLoad()"
|
||||
buttons="accept,cancel,help"
|
||||
ondialogaccept="return onAccept();"
|
||||
ondialoghelp="return doHelpButton();"
|
||||
persist="screenX screenY width height">
|
||||
|
||||
<stringbundleset id="stringbundleset">
|
||||
@ -107,6 +104,10 @@
|
||||
</hbox>
|
||||
</vbox>
|
||||
|
||||
<separator/>
|
||||
|
||||
<hbox id="okCancelHelpButtonsRight"/>
|
||||
|
||||
</vbox>
|
||||
|
||||
</dialog>
|
||||
</window>
|
||||
|
Loading…
Reference in New Issue
Block a user