зеркало из https://github.com/mozilla/pjs.git
Bug 286197 - preferences should not close upon hitting enter on Mac OS X. r+a=mconnor.
This commit is contained in:
Родитель
57df23d0c9
Коммит
0db408e132
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче