Use standard Composer method for alert dialog in Replace code, b=146403, fix=neil@parkwaycc.co.uk, r=cmanske,sr=dveditz

This commit is contained in:
cmanske%netscape.com 2002-06-04 21:50:24 +00:00
Родитель cd26c31b01
Коммит 275a05fdb4
2 изменённых файлов: 3 добавлений и 2 удалений

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

@ -138,7 +138,7 @@ function onFindNext()
if (!result)
{
var bundle = document.getElementById("findBundle");
window.alert(bundle.getString("notFoundWarning"));
AlertWithTitle(null, bundle.getString("notFoundWarning"));
SetTextboxFocus(gReplaceDialog.findKey);
gReplaceDialog.findInput.select();
gReplaceDialog.findInput.focus();

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

@ -38,9 +38,10 @@ Contributor(s): Akkana Peck <akkana@netscape.com>
onload = "onLoad()"
ondialogaccept="return onFindNext();">
<!-- Methods common to all editor dialogs -->
<script type="application/x-javascript" src="chrome://editor/content/editorUtilities.js"/>
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
<script type="application/x-javascript" src="chrome://editor/content/EdReplace.js"/>
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
<stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
<hbox>