Bug 1620206 - Account Manager: S/MIME cert selection not saved if closing. r=kaie DONTBUILD
--HG-- extra : amend_source : 0b6c66ffcb05b9755cede87011834134808f740b
This commit is contained in:
Родитель
d2a1df50fe
Коммит
20b95f2b4c
|
@ -145,6 +145,7 @@ function onPreInit(account, accountValues) {
|
|||
|
||||
function onSave() {
|
||||
smimeSave();
|
||||
window.dispatchEvent(new CustomEvent("prefchange"));
|
||||
}
|
||||
|
||||
function smimeSave() {
|
||||
|
@ -465,6 +466,7 @@ function enableCertSelectButtons() {
|
|||
.getElementById("encryptionCertClearButton")
|
||||
.setAttribute("disabled", "true");
|
||||
}
|
||||
onSave();
|
||||
}
|
||||
|
||||
function smimeClearCert(smime_cert) {
|
||||
|
@ -497,6 +499,4 @@ function openDeviceManager() {
|
|||
|
||||
function smimeOnLoadEditor() {
|
||||
smimeInitializeFields();
|
||||
document.addEventListener("dialogaccept", smimeOnAcceptEditor);
|
||||
window.dispatchEvent(new CustomEvent("prefchange"));
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче