Skip to content

Commit

Permalink
MID-2587 "AutoComplete box in Reports PopUp wont disappear after popu…
Browse files Browse the repository at this point in the history
…p close " problem is fixed
  • Loading branch information
KaterynaHonchar committed Nov 10, 2015
1 parent fce8ad4 commit 04e8ff0
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -324,6 +324,13 @@ protected void runConfirmPerformed(AjaxRequestTarget target, ReportType reportTy
}
});
add(window);
window.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() {

@Override
public void onClose(AjaxRequestTarget target) {
target.appendJavaScript("$('.wicket-aa-container').remove();");
}
});
}

private void showRunReportPopup(AjaxRequestTarget target, ReportType reportType) {
Expand Down

0 comments on commit 04e8ff0

Please sign in to comment.