Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 1562654 - Replace XUL textbox with HTML input in security/manager…
Browse files Browse the repository at this point in the history
…/pki/resources/content/certViewer.js r=keeler

Differential Revision: https://phabricator.services.mozilla.com/D36490
  • Loading branch information
nt1m committed Jul 1, 2019
1 parent 3697ef1 commit 683dfa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions security/manager/pki/resources/content/certViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ function AddCertChain(node, chain) {
*/
function AddUsage(l10nId) {
let verifyInfoBox = document.getElementById("verify_info_box");
let text = document.createXULElement("textbox");
let text = document.createElementNS("http://www.w3.org/1999/xhtml", "input");
document.l10n.setAttributes(text, l10nId);
text.setAttribute("data-l10n-attrs", "value");
text.setAttribute("style", "margin: 2px 5px");
text.setAttribute("readonly", "true");
text.setAttribute("readonly", "readonly");
text.setAttribute("class", "scrollfield");
verifyInfoBox.appendChild(text);
}
Expand Down

0 comments on commit 683dfa4

Please sign in to comment.