Skip to content

Commit

Permalink
Fix for MID-4252 (perhaps temporary)
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Nov 14, 2017
1 parent 6a1f23f commit ad42821
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -219,7 +219,8 @@ public void onClick(AjaxRequestTarget target) {
savePerformed(target);
}
};
save.add(new EnableBehaviour(() -> violationsEmpty()));
//save.add(new EnableBehaviour(() -> violationsEmpty())); // does not work as expected (MID-4252)
save.add(new VisibleBehaviour(() -> violationsEmpty())); // so hiding the button altogether
mainForm.add(save);
}

Expand Down

0 comments on commit ad42821

Please sign in to comment.