Project

General

Profile

Revision 8f33d289

ID8f33d289f99c2f26c02f2303cdc1b295be6adffa
Parent 74ad1146
Child 3b66edef

Added by Andreas Kohlbecker almost 3 years ago

fixing window close [x] button bug

View differences:

src/main/java/eu/etaxonomy/vaadin/ui/navigation/NavigationManagerBean.java
194 194
		// see #6843
195 195
		window.setHeight("100%");
196 196
		window.setContent(popupView.asComponent());
197
		window.addCloseListener(e -> popupView.cancel());
197
		// TODO need to disallow pressing the close [x] button:
198
		// since window.addCloseListener(e -> popupView.cancel()); will
199
		// cause sending cancel events even if save has been clicked
200
		window.setClosable(false);
198 201
		UI.getCurrent().addWindow(window);
199 202
		popupView.viewEntered();
200 203
		popupView.focusFirst();

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)