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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user