-
darin authored
- fixed 3125886 -- Failure to set document onkeypress handler causes return key to submit forms incorrectly The handler was getting ignored because the property setting code never got to the DOMNode level. * khtml/ecma/kjs_dom.cpp: (DOMDocument::tryPut): Pass correct parent class, DOMNode, instead of DOMObject. By passing DOMObject, we skipped all the properties inherited from DOMNode, including onkeypress. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
104ef9d3