commit 2d06b5585801cf1254626d0121e6c25eabb488d5
parent 11f3cb750ac56cbad99a15ad65bff3329a73fd88
Author: Emilio Cobos Álvarez <emilio@crisal.io>
Date: Thu, 8 Jan 2026 12:53:31 +0000
Bug 2009098 - Fix appchooser button disabled handling. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D278244
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toolkit/mozapps/handling/content/appChooser.js b/toolkit/mozapps/handling/content/appChooser.js
@@ -290,7 +290,7 @@ let dialog = {
* Determines if the accept button should be disabled or not
*/
updateAcceptButton() {
- this._dialog.setAttribute(
+ this._dialog.toggleAttribute(
"buttondisabledaccept",
this._acceptBtnDisabled || this._itemChoose.selected
);