This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new aeb7bd1a45 ISIS-3217: removes one origin of FOCUS_FIRST_PARAMETER AJAX
event
aeb7bd1a45 is described below
commit aeb7bd1a45ba8c966530bfab5791e5404b5a598f
Author: Andi Huber <[email protected]>
AuthorDate: Thu Sep 22 13:58:10 2022 +0200
ISIS-3217: removes one origin of FOCUS_FIRST_PARAMETER AJAX event
- experimentally confirmed to fix the described issue, but do we lose
functionality in other contexts?
---
.../org/apache/isis/viewer/wicket/ui/panels/PromptFormAbstract.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
a/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/panels/PromptFormAbstract.java
b/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/panels/PromptFormAbstract.java
index 3e78cf0da3..9320e6e61d 100644
---
a/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/panels/PromptFormAbstract.java
+++
b/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/panels/PromptFormAbstract.java
@@ -88,7 +88,10 @@ implements ScalarModelChangeListener {
@Override
public final void renderHead(final IHeaderResponse response) {
super.renderHead(response);
- Wkt.javaScriptAdd(response, EventTopic.FOCUS_FIRST_PARAMETER,
getMarkupId());
+ /*[ISIS-3217] in the context of a modal dialog with a select2 causes:
+ * java.io.IOException: An established connection was aborted by the
software in your host machine
+ */
+// Wkt.javaScriptAdd(response, EventTopic.FOCUS_FIRST_PARAMETER,
getMarkupId());
}
@Override