Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cool#9992 doc sign: fix missing enable on the cert chooser description entry #10135

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions browser/src/control/Control.JSDialogBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -2975,6 +2975,12 @@ L.Control.JSDialogBuilder = L.Control.extend({
break;

case 'enable':
// E.g. GtkEntry is represented as an <input> inside a <div>, the disabled
// attribute is on the <input>, not the <div>.
var innerInput = control.querySelector('input');
eszkadev marked this conversation as resolved.
Show resolved Hide resolved
if (innerInput)
control = innerInput;

control.disabled = false;
control.removeAttribute('disabled');
break;
Expand Down
Loading