Bug 286197 - preferences should not close upon hitting enter on Mac OS X. r+a=mconnor.

This commit is contained in:
mozilla.mano%sent.com 2005-07-19 18:13:50 +00:00
Родитель 57df23d0c9
Коммит 0db408e132
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -480,6 +480,8 @@
#ifdef XP_MACOSX
// no buttons on Mac except Help
cancelButton.hidden = true;
// Also, don't fire onDialogAccept on enter
acceptButton.disabled = true;
#else
// morph the Cancel button into the Close button
cancelButton.setAttribute ("icon", "close");