This is an automated email from the ASF dual-hosted git repository. thiagohp pushed a commit to branch 5.6.x in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
commit 52f7696e36b7a1c8f53dba2bd023646bde5bb6fc Author: Thiago H. de Paula Figueiredo <[email protected]> AuthorDate: Thu Apr 8 15:05:15 2021 -0300 TAP5-2671: dom(...).trigger("submit") doesn't work on Chrome for AJAX form submissions. --- .../preprocessed-coffeescript/org/apache/tapestry5/t5-core-dom.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tapestry-core/src/main/preprocessed-coffeescript/org/apache/tapestry5/t5-core-dom.coffee b/tapestry-core/src/main/preprocessed-coffeescript/org/apache/tapestry5/t5-core-dom.coffee index 79c22b0..bf24548 100644 --- a/tapestry-core/src/main/preprocessed-coffeescript/org/apache/tapestry5/t5-core-dom.coffee +++ b/tapestry-core/src/main/preprocessed-coffeescript/org/apache/tapestry5/t5-core-dom.coffee @@ -559,7 +559,7 @@ define ["underscore", "./utils", "./events", "jquery"], unless Prototype.Browser.WebKit and eventName == 'submit' and @element instanceof HTMLFormElement fireNativeEvent @element, eventName else - @element.submit() + @element.requestSubmit() #endif
