Skip to content
  • darin's avatar
    Reviewed by Maciej and Trey. · ba021ece
    darin authored
    	- fixed 3138063 -- REGRESSION: JavaScript-submitted form activates input type=image (
    	JavaScript-submitted forms must not get a submit button activated as return-key-submitted ones do.
            * khtml/html/html_formimpl.h: Add boolean activateSubmitButton parameter to submit.
            * khtml/html/html_formimpl.cpp:
            (HTMLFormElementImpl::prepareSubmit): Pass true for activateSubmitButton.
            (HTMLFormElementImpl::submit): Only activate a button if activateSubmitButton is true.
            * khtml/dom/html_form.cpp: (HTMLFormElement::submit): Pass false for activateSubmitButton.
    git-svn-id: 268f45cc-cd09-0410-ab3c-d52691b4dbfc