minor tweaks to make this dialog work again

This commit is contained in:
alecf%netscape.com 2000-05-09 08:05:42 +00:00
parent ae2dc79f8b
commit 3a549c4a97
3 changed files with 7 additions and 6 deletions

View File

@ -30,15 +30,14 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&identityAdvanced.label;"
align="vertical"
onload="onLoad();"
width="0em">
onload="onLoad();">
<script language="javascript" src="am-identity-advanced.js"/>
<script language="javascript" src="chrome://global/content/strres.js"/>
<html>&smtpDesc.label;</html>
<html style="width: 20em; ">&smtpDesc.label;</html>
<box orient="horizontal">
<text value="&smtpName.label;"/>
<text value="&smtpName.label;" class="label"/>
<menulist oncommand="onSelected(event)">
<menupopup id="smtpPopup"/>
</menulist>

View File

@ -23,10 +23,11 @@
function onAdvanced()
{
dump("onAdvanced..\n");
var oldSmtpServer = null; // where will I get this from?
var arg = {result: false,
smtpServer: oldSmtpServer };
window.openDialog('am-identity-advanced.xul','advanced',
window.openDialog('am-identity-advanced.xul','smtpadvanced',
'modal,chrome', arg);
if (arg.result && arg.smtpServer != oldSmtpServer) {

View File

@ -14,6 +14,7 @@
<script src="chrome://global/content/strres.js"/>
<script src="chrome://communicator/content/pref/prefutilities.js"/>
<script src="chrome://messenger/content/am-main.js"/>
<box class="box-smallheader" title="&accountTitle.label;"/>
<html class="secDesc">&accountSettingsDesc.label;</html>
@ -87,7 +88,7 @@
<box orient="horizontal">
<spring flex="100%"/>
<button onclick="onAdvanced" value="&advancedButton.label;"/>
<button onclick="onAdvanced();" value="&advancedButton.label;"/>
<text hidden="true" wsm_persist="true" type="hidden" id="identity.smtpServerKey"/>
</box>
</window>