diff --git a/web/src/main/webapp/META-INF/includes/proband/trialParticipation.xhtml b/web/src/main/webapp/META-INF/includes/proband/trialParticipation.xhtml
index 572866070860..d4c9e6c6178d 100644
--- a/web/src/main/webapp/META-INF/includes/proband/trialParticipation.xhtml
+++ b/web/src/main/webapp/META-INF/includes/proband/trialParticipation.xhtml
@@ -165,7 +165,7 @@
rendered="#{not trialParticipationBean.randomization}"
id="addProbandListEntry" value="#{labels.add_button_label}"
actionListener="#{trialParticipationBean.add}"
- oncomplete="handleUpdateProbandTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);trialParticipationList.filter()"
+ oncomplete="handleUpdateProbandTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);trialParticipationList.unselectAllRows();trialParticipationList.filter()"
icon="ui-icon ui-icon-plusthick" ajax="true"
disabled="#{!trialParticipationBean.createable}"
update=":tabView:trialparticipation_form:trialParticipationListTabView" />
@@ -175,7 +175,7 @@
process="@this,probandlistentry_input"
id="addProbandListEntryNotRandomized"
actionListener="#{trialParticipationBean.add}"
- oncomplete="handleUpdateProbandTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);trialParticipationList.filter()"
+ oncomplete="handleUpdateProbandTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);trialParticipationList.unselectAllRows();trialParticipationList.filter()"
disabled="#{!trialParticipationBean.createable}"
update=":tabView:trialparticipation_form:trialParticipationListTabView"
value="#{labels.add_button_label}"
@@ -184,7 +184,7 @@
process="@this,probandlistentry_input"
id="addProbandListEntryRandomized"
actionListener="#{trialParticipationBean.addRandomized}"
- oncomplete="handleUpdateProbandTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);trialParticipationList.filter()"
+ oncomplete="handleUpdateProbandTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);trialParticipationList.unselectAllRows();trialParticipationList.filter()"
disabled="#{!trialParticipationBean.createable}"
update=":tabView:trialparticipation_form:trialParticipationListTabView"
value="#{labels.add_randomize_button_label}"
@@ -197,7 +197,7 @@
id="updateProbandListEntry"
value="#{labels.update_button_label}"
actionListener="#{trialParticipationBean.update}"
- oncomplete="handleUpdateProbandTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);trialParticipationList.filter()"
+ oncomplete="handleUpdateProbandTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);trialParticipationList.unselectAllRows();trialParticipationList.filter()"
icon="ui-icon ui-icon-disk" ajax="true"
disabled="#{!trialParticipationBean.editable}"
update=":tabView:trialparticipation_form:trialParticipationListTabView" />
@@ -207,7 +207,7 @@
process="@this,probandlistentry_input"
id="updateProbandListEntryNotRandomized"
actionListener="#{trialParticipationBean.update}"
- oncomplete="handleUpdateProbandTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);trialParticipationList.filter()"
+ oncomplete="handleUpdateProbandTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);trialParticipationList.unselectAllRows();trialParticipationList.filter()"
disabled="#{!trialParticipationBean.editable}"
update=":tabView:trialparticipation_form:trialParticipationListTabView"
value="#{labels.update_button_label}"
@@ -216,7 +216,7 @@
process="@this,probandlistentry_input"
id="updateProbandListEntryRandomized"
actionListener="#{trialParticipationBean.updateRandomized}"
- oncomplete="handleUpdateProbandTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);trialParticipationList.filter()"
+ oncomplete="handleUpdateProbandTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);trialParticipationList.unselectAllRows();trialParticipationList.filter()"
disabled="#{!trialParticipationBean.editable}"
update=":tabView:trialparticipation_form:trialParticipationListTabView"
value="#{labels.update_randomize_button_label}"
@@ -232,7 +232,7 @@
@@ -286,7 +286,7 @@
id="addProbandListStatusEntry"
value="#{labels.add_button_label}"
actionListener="#{trialParticipationBean.probandListStatusEntryBean.add}"
- oncomplete="trialParticipationList.filter()"
+ oncomplete="trialParticipationList.unselectAllRows();trialParticipationList.filter()"
icon="ui-icon ui-icon-plusthick" ajax="true"
disabled="#{!trialParticipationBean.probandListStatusEntryBean.createable}"
update="probandliststatus_list,probandliststatus_input" />
@@ -295,7 +295,7 @@
@@ -326,7 +326,7 @@
+ value="trialParticipationList.unselectAllRows();trialParticipationList.filter()" />
@@ -347,14 +347,14 @@
id="updateProbandListEntryTagValues"
value="#{labels.update_page_button_label}"
actionListener="#{trialParticipationBean.probandListEntryTagValueBean.update}"
- oncomplete="FieldCalculation.handleUpdateInputFieldVariables(xhr, status, args);trialParticipationList.filter()"
+ oncomplete="FieldCalculation.handleUpdateInputFieldVariables(xhr, status, args);trialParticipationList.unselectAllRows();trialParticipationList.filter()"
icon="ui-icon ui-icon-disk" ajax="true"
disabled="#{!trialParticipationBean.probandListEntryTagValueBean.editable}"
update="tagvalue_input_grid" />
@@ -422,7 +422,7 @@
@@ -661,7 +661,7 @@
process="@this,probandlistentry_input"
id="addProbandListEntryNotRandomized"
actionListener="#{probandListEntryBean.add}"
- oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.filter()"
+ oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.unselectAllRows();probandList.filter()"
disabled="#{!probandListEntryBean.createable}"
update=":tabView:probandlist_form:probandListTabView"
value="#{labels.add_button_label}"
@@ -670,7 +670,7 @@
process="@this,probandlistentry_input"
id="addProbandListEntryRandomized"
actionListener="#{probandListEntryBean.addRandomized}"
- oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.filter()"
+ oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.unselectAllRows();probandList.filter()"
disabled="#{!probandListEntryBean.createable}"
update=":tabView:probandlist_form:probandListTabView"
value="#{labels.add_randomize_button_label}"
@@ -683,7 +683,7 @@
id="addProbandListEntryCreateProband"
value="#{labels.add_create_button_label}"
actionListener="#{probandListEntryBean.addCreateProband}"
- oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.filter()"
+ oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.unselectAllRows();probandList.filter()"
icon="ui-icon ui-icon-plusthick" ajax="true"
disabled="#{!probandListEntryBean.createable}"
update=":tabView:probandlist_form:probandListTabView" />
@@ -693,7 +693,7 @@
process="@this,probandlistentry_input"
id="addProbandListEntryCreateProbandNotRandomized"
actionListener="#{probandListEntryBean.addCreateProband}"
- oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.filter()"
+ oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.unselectAllRows();probandList.filter()"
disabled="#{!probandListEntryBean.createable}"
update=":tabView:probandlist_form:probandListTabView"
value="#{labels.add_create_button_label}"
@@ -702,7 +702,7 @@
process="@this,probandlistentry_input"
id="addProbandListEntryCreateProbandRandomized"
actionListener="#{probandListEntryBean.addCreateProbandRandomized}"
- oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.filter()"
+ oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.unselectAllRows();probandList.filter()"
disabled="#{!probandListEntryBean.createable}"
update=":tabView:probandlist_form:probandListTabView"
value="#{labels.add_create_randomize_button_label}"
@@ -716,7 +716,7 @@
id="updateProbandListEntry"
value="#{labels.update_button_label}"
actionListener="#{probandListEntryBean.update}"
- oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.filter()"
+ oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.unselectAllRows();probandList.filter()"
icon="ui-icon ui-icon-disk" ajax="true"
disabled="#{!probandListEntryBean.editable}"
update=":tabView:probandlist_form:probandListTabView" />
@@ -726,7 +726,7 @@
process="@this,probandlistentry_input"
id="updateProbandListEntryNotRandomized"
actionListener="#{probandListEntryBean.update}"
- oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.filter()"
+ oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.unselectAllRows();probandList.filter()"
disabled="#{!probandListEntryBean.editable}"
update=":tabView:probandlist_form:probandListTabView"
value="#{labels.update_button_label}"
@@ -735,7 +735,7 @@
process="@this,probandlistentry_input"
id="updateProbandListEntryRandomized"
actionListener="#{probandListEntryBean.updateRandomized}"
- oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.filter()"
+ oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.unselectAllRows();probandList.filter()"
disabled="#{!probandListEntryBean.editable}"
update=":tabView:probandlist_form:probandListTabView"
value="#{labels.update_randomize_button_label}"
@@ -747,7 +747,7 @@
value="#{labels.normalize_positions_button_label}"
title="#{labels.normalize_positions_button_title}"
actionListener="#{probandListEntryBean.normalizePositions}"
- oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.filter()"
+ oncomplete="handleUpdateTrialTabTitles(xhr, status, args);FieldCalculation.handleInitInputFieldVariables(xhr, status, args);probandList.unselectAllRows();probandList.filter()"
icon="ui-icon ui-icon-link" ajax="true"
disabled="#{!probandListEntryBean.createable}"
update=":tabView:probandlist_form:probandListTabView" />
@@ -759,7 +759,7 @@
@@ -822,14 +822,14 @@
id="addProbandListStatusEntry"
value="#{labels.add_button_label}"
actionListener="#{probandListEntryBean.probandListStatusEntryBean.add}"
- oncomplete="probandList.filter()"
+ oncomplete="probandList.unselectAllRows();probandList.filter()"
icon="ui-icon ui-icon-plusthick" ajax="true"
disabled="#{!probandListEntryBean.probandListStatusEntryBean.createable}"
update="probandliststatus_list,probandliststatus_input" />
@@ -860,7 +860,7 @@
+ value="probandList.unselectAllRows();probandList.filter()" />
@@ -880,14 +880,14 @@
id="updateProbandListEntryTagValues"
value="#{labels.update_page_button_label}"
actionListener="#{probandListEntryBean.probandListEntryTagValueBean.update}"
- oncomplete="FieldCalculation.handleUpdateInputFieldVariables(xhr, status, args);probandList.filter()"
+ oncomplete="FieldCalculation.handleUpdateInputFieldVariables(xhr, status, args);probandList.unselectAllRows();probandList.filter()"
icon="ui-icon ui-icon-disk" ajax="true"
disabled="#{!probandListEntryBean.probandListEntryTagValueBean.editable}"
update="tagvalue_input_grid" />
@@ -939,7 +939,7 @@