зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
cd26c31b01
Коммит
275a05fdb4
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче