Skip to content

Commit

Permalink
MID-2266 improvement. Users are now informed, when something is wrong…
Browse files Browse the repository at this point in the history
… with one or more resources.
  • Loading branch information
Erik Suta committed Mar 12, 2015
1 parent 1926375 commit b792c57
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -970,6 +970,7 @@ private void showAssignablePopup(AjaxRequestTarget target, Class<? extends Objec
AssignablePopupContent content = (AssignablePopupContent) modal.get(modal.getContentId());
content.setType(type);
showModalWindow(MODAL_ID_ASSIGNABLE, target);
target.add(getFeedbackPanel());
}

private void initResourceModal() {
Expand Down Expand Up @@ -1872,6 +1873,7 @@ private void deleteAccountPerformed(AjaxRequestTarget target) {
private void showModalWindow(String id, AjaxRequestTarget target) {
ModalWindow window = (ModalWindow) get(id);
window.show(target);
target.add(getFeedbackPanel());
}

private void deleteAccountConfirmedPerformed(AjaxRequestTarget target, List<UserAccountDto> selected) {
Expand Down

0 comments on commit b792c57

Please sign in to comment.