Bug 1588694 - Fix UI issues related to notifications in calendar-properties-dialog.xul. r=pmorris
This commit is contained in:
Родитель
59d6cea70f
Коммит
8093245ac7
|
@ -105,11 +105,15 @@ function ltnSaveMailIdentitySelection() {
|
|||
* (shared between calendar creation wizard and properties dialog)
|
||||
*/
|
||||
function ltnNotifyOnIdentitySelection() {
|
||||
let notificationBox = document.getElementById("no-identity-notification");
|
||||
while (notificationBox.firstChild) {
|
||||
notificationBox.firstChild.remove();
|
||||
}
|
||||
let gNotification = {};
|
||||
XPCOMUtils.defineLazyGetter(gNotification, "notificationbox", () => {
|
||||
return new MozElements.NotificationBox(element => {
|
||||
element.setAttribute("flex", "1");
|
||||
document.getElementById("no-identity-notification").append(element);
|
||||
notificationBox.append(element);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче