Skip to content

Commit

Permalink
consent button behaviour fix
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Apr 7, 2020
1 parent 8924805 commit 792cd89
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -466,12 +466,11 @@ protected void cancelAssignmentDetailsPerformed(AjaxRequestTarget target) {
}
};
gdprAssignmentPanel.setOutputMarkupId(true);
SwitchAssignmentTypePanel.this.addOrReplace(gdprAssignmentPanel);
target.add(SwitchAssignmentTypePanel.this);
switchAssignmentTypePerformed(target, gdprAssignmentPanel, ID_CONSENT_ASSIGNMENTS);
}
};
consentsButton.setOutputMarkupId(true);
consentsButton.add(AttributeAppender.append("class", getButtonStyleModel(ID_SHOW_INDIRECT_ASSIGNMENTS)));
consentsButton.add(AttributeAppender.append("class", getButtonStyleModel(ID_CONSENT_ASSIGNMENTS)));
consentsButton.add(new VisibleEnableBehaviour() {
@Override
public boolean isVisible() {
Expand Down

0 comments on commit 792cd89

Please sign in to comment.