mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
86b88b70a6
commit
20e3543359
@ -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…
Reference in New Issue
Block a user