Skip to content

Commit

Permalink
MID-7550 couldn't reproduce. making sure no such element exception is…
Browse files Browse the repository at this point in the history
… not thrown there

(cherry picked from commit cad0588)
  • Loading branch information
1azyman committed Jan 24, 2022
1 parent d57752f commit a2d95f3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ public String getObject() {

@Override
protected void onClick(Optional<AjaxRequestTarget> optionalTarget) {
if (!optionalTarget.isPresent()) {
return;
}

if (selected.getObject() != null) {
tree.updateNode(selected.getObject(), optionalTarget.get());
}
Expand Down

0 comments on commit a2d95f3

Please sign in to comment.