Bugzilla Bug 102762 Cancel does nothing in find dialog when no search text is provided

patch by simm0@ii.net r=hyatt sr=hewitt
This commit is contained in:
timeless%mac.com 2001-10-18 03:07:25 +00:00
Родитель a2750766c0
Коммит 70038689bb
1 изменённых файлов: 1 добавлений и 2 удалений

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

@ -156,10 +156,9 @@
<parameter name="aDlgType"/>
<body>
<![CDATA[
var button = this.getButton("accept");
var button = this.getButton(aDlgType);
if (!button.disabled) {
var noCancel = this._fireButtonEvent(aDlgType);
if (noCancel) {
if (aDlgType == "accept" || aDlgType == "cancel") {
// calling window.close() while an oncommand event