42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
if (globalCerts == null) {
htmlObject.innerHTML = "<i>Updating...</i>";
} else {
displayCerts(htmlObject, globalCerts);
}
parentWindow.cackeyListCertificates(function(certs) {
globalCerts = certs;
displayCerts(htmlObject, certs);
});
return;
}
|
>
>
>
>
>
>
>
>
|
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
if (globalCerts == null) {
htmlObject.innerHTML = "<i>Updating...</i>";
} else {
displayCerts(htmlObject, globalCerts);
}
parentWindow.cackeyListCertificates(function(certs) {
/*
* If there is an error then we are invoked with no certs
* parameter at all, fake one.
*/
if (!certs) {
certs = [];
}
globalCerts = certs;
displayCerts(htmlObject, certs);
});
return;
}
|