]> source.dussan.org Git - vaadin-framework.git/commit
Fix selecting a row that was deselected on the server (#19360)
authorTeemu Suo-Anttila <teemusa@vaadin.com>
Fri, 11 Dec 2015 09:39:16 +0000 (11:39 +0200)
committerTeemu Suo-Anttila <teemusa@vaadin.com>
Mon, 14 Dec 2015 08:51:14 +0000 (08:51 +0000)
commit38a4ae4130b0e82292bf92d055d0d9784b7de029
tree2f2e95634ce726aaf1c32ad4e7c421746e111b82
parent4e0bfcdd1f49050911029383f59ff2f94e82650e
Fix selecting a row that was deselected on the server (#19360)

Client-side connector of the SingleSelectionModel attempts to keep track
of currently selected row. This tracking gets lost when the row get
deselected on the server-side. Special case is now correctly handled.

Change-Id: I1c45548bd11536bc85cddbc2ba8b6225965c1194
client/src/com/vaadin/client/connectors/SingleSelectionModelConnector.java
uitest/src/com/vaadin/tests/components/grid/GridDefaultSelectionMode.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/grid/GridDefaultSelectionModeTest.java [new file with mode: 0644]