mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 13:07:52 +00:00
Bug 935434 - Make XUL alertNotifcations use dir/bidi parameter by setting the according css direction attribute. Set lang attribute for labels. r=jaws
This commit is contained in:
parent
56bf426653
commit
5a0267a026
@ -45,6 +45,15 @@ function prefillAlertInfo() {
|
||||
gAlertListener = window.arguments[9];
|
||||
case 9:
|
||||
gReplacedWindow = window.arguments[8];
|
||||
case 8:
|
||||
if (window.arguments[7]) {
|
||||
document.getElementById('alertTitleLabel').setAttribute('lang', window.arguments[7]);
|
||||
document.getElementById('alertTextLabel').setAttribute('lang', window.arguments[7]);
|
||||
}
|
||||
case 7:
|
||||
if (window.arguments[6]) {
|
||||
document.getElementById('alertNotification').style.direction = window.arguments[6];
|
||||
}
|
||||
case 6:
|
||||
gOrigin = window.arguments[5];
|
||||
case 5:
|
||||
|
Loading…
x
Reference in New Issue
Block a user