diff --git a/xpfe/global/resources/content/bindings/wizard.xml b/xpfe/global/resources/content/bindings/wizard.xml index d2fa9ec0e1c..e65fc2f019b 100644 --- a/xpfe/global/resources/content/bindings/wizard.xml +++ b/xpfe/global/resources/content/bindings/wizard.xml @@ -111,7 +111,7 @@ 0 ? btns[0] : document.getAnonymousElementByAttribute(this, "dlgtype", aDlgType); + return btns.length > 0 ? btns[0] : document.getAnonymousElementByAttribute(this._wizardButtons, "dlgtype", aDlgType); ]]>