Bug 274672 Pressing Enter in Wizard activate BOTH focused button and pageAdvance()

p=lwchk2001@yahoo.com.hk/me r=neil.parkwaycc.co.uk sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@167963 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bugzilla%arlen.demon.co.uk
2005-01-19 01:57:32 +00:00
parent d7e45717e9
commit bc4ee919a9
2 changed files with 2 additions and 2 deletions

View File

@@ -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();
]]>
</body>

View File

@@ -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();
]]>
</body>