зеркало из https://github.com/mozilla/pjs.git
111396 - tabbing in dialogs gives incorrect results, r=morse, sr=hyatt
This commit is contained in:
Родитель
0a726b383e
Коммит
7216a7a59e
|
@ -125,8 +125,8 @@
|
|||
|
||||
if (btn) {
|
||||
btn.addEventListener("command", this._handleButtonCommand, true);
|
||||
// don't set pre-defined labels on explicit buttons
|
||||
if (btns.length == 0)
|
||||
// don't override custom labels with pre-defined labels on explicit buttons
|
||||
if (!btn.hasAttribute("label"))
|
||||
btn.setAttribute("label", this.mStrBundle.GetStringFromName("button-"+aDlgType));
|
||||
btn._dialog = this;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче