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:
dmose%netscape.com 2002-10-10 19:30:49 +00:00
Родитель 1eb6ed7c4b
Коммит d6adfdc26f
2 изменённых файлов: 15 добавлений и 5 удалений

Просмотреть файл

@ -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>