diff --git a/mozilla/toolkit/content/widgets/wizard.xml b/mozilla/toolkit/content/widgets/wizard.xml index eaaf2d5bb6a..f20bda5a72f 100644 --- a/mozilla/toolkit/content/widgets/wizard.xml +++ b/mozilla/toolkit/content/widgets/wizard.xml @@ -361,7 +361,7 @@ // if a button is focused, dispatch its command instead // of advancing the wizard var focused = document.commandDispatcher.focusedElement; - if (!(focused && focused.localName == "button" && focused.hasAttribute("dlgtype"))) + if (!(focused && focused.localName == "button")) this.advance(); ]]> diff --git a/mozilla/xpfe/global/resources/content/bindings/wizard.xml b/mozilla/xpfe/global/resources/content/bindings/wizard.xml index 43554edf936..0430288bc78 100644 --- a/mozilla/xpfe/global/resources/content/bindings/wizard.xml +++ b/mozilla/xpfe/global/resources/content/bindings/wizard.xml @@ -355,7 +355,7 @@ // if a button is focused, dispatch its command instead // of advancing the wizard var focused = document.commandDispatcher.focusedElement; - if (!(focused && focused.localName == "button" && focused.hasAttribute("dlgtype"))) + if (!(focused && focused.localName == "button")) this.advance(); ]]>