Bug 384252, Cert viewer: Give feedback that cert verification is pending

r=rrelyea
This commit is contained in:
kaie@kuix.de 2007-06-15 15:09:23 -07:00
Родитель aa47c68ddb
Коммит 1377fdab94
3 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -57,6 +57,7 @@
<!ENTITY certmgr.detail.prettyprint_tab.title "Details"> <!ENTITY certmgr.detail.prettyprint_tab.title "Details">
<!ENTITY certmgr.detail.prettyprint_tab.accesskey "D"> <!ENTITY certmgr.detail.prettyprint_tab.accesskey "D">
<!ENTITY certmgr.pending.label "Currently verifying certificate...">
<!ENTITY certmgr.subjectinfo.label "Issued To"> <!ENTITY certmgr.subjectinfo.label "Issued To">
<!ENTITY certmgr.issuerinfo.label "Issued By"> <!ENTITY certmgr.issuerinfo.label "Issued By">
<!ENTITY certmgr.validity.label "Validity" > <!ENTITY certmgr.validity.label "Validity" >

Просмотреть файл

@ -211,6 +211,8 @@ listener.prototype.notify =
function DisplayVerificationData(cert, result) function DisplayVerificationData(cert, result)
{ {
document.getElementById("verify_pending").setAttribute("hidden", "true");
if (!result || !cert) if (!result || !cert)
return; // no results could be produced return; // no results could be produced

Просмотреть файл

@ -44,6 +44,7 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<vbox class="box-padded" id="general_info"> <vbox class="box-padded" id="general_info">
<vbox id="verify_info_box"> <vbox id="verify_info_box">
<label id="verify_pending" value="&certmgr.pending.label;"/>
<label class="header" id="verified"/> <label class="header" id="verified"/>
</vbox> </vbox>
<separator class="groove"/> <separator class="groove"/>