You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by th...@apache.org on 2021/04/08 18:22:19 UTC
[tapestry-5] branch 5.6.x updated (06d9e05 -> 465024d)
This is an automated email from the ASF dual-hosted git repository.
thiagohp pushed a change to branch 5.6.x
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git.
from 06d9e05 TAP5-2669: Tapestry Form.js running on non Tapestry forms
new 52f7696 TAP5-2671: dom(...).trigger("submit") doesn't work on Chrome
new 465024d TAP5-2672: Improve reporting for errors in JS modules
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../main/coffeescript/META-INF/modules/t5/core/console.coffee | 9 +++++++++
.../org/apache/tapestry5/t5-core-dom.coffee | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
[tapestry-5] 02/02: TAP5-2672: Improve reporting for errors in JS
modules
Posted by th...@apache.org.
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 465024dec93adbb5e3b910c76a641366e45c58ce
Author: Thiago H. de Paula Figueiredo <th...@arsmachina.com.br>
AuthorDate: Thu Apr 8 15:10:57 2021 -0300
TAP5-2672: Improve reporting for errors in JS modules
---
.../main/coffeescript/META-INF/modules/t5/core/console.coffee | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/console.coffee b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/console.coffee
index b0785ca..fa25cb9 100644
--- a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/console.coffee
+++ b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/console.coffee
@@ -201,6 +201,15 @@ define ["./dom", "underscore", "./bootstrap"],
if modules and modules.length > 0
message += """, modules #{modules.join(", ")}"""
+ if err.fileName
+ message += """, #{err.fileName}"""
+
+ if err.lineNumber
+ message += """, line #{err.lineNumber}"""
+
+ if err.columnNumber
+ message += """, line #{err.columnNumber}"""
+
exports.error message
[tapestry-5] 01/02: TAP5-2671: dom(...).trigger("submit") doesn't
work on Chrome
Posted by th...@apache.org.
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 <th...@arsmachina.com.br>
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