-
Patch
-
Resolution: Fixed
-
Major
-
None
-
Chrome (but other browsers should behave the same ... I think)
In hudson-behavior.js <form> elements behavior is not extensible.
- form.onsubmit handler doesn't take into account the fact the form could have a "onsubmit" attribute (it always overrides it with the call of buildFormTree())
- Element.hasClassName() call will never return true since "form" variable is not passed to that call !
For my global-build-stats plugin, I need to create "home made" form with a onsubmit handler.
Hudson behaviour systematically overrides my onsubmit attribute with its behaviour.
=> I'd like hudson behavior to "add" (and not "override") its behavior to the existing form behavior
I submitted a patch to the hudson-behavior 28557 revision.