]> source.dussan.org Git - vaadin-framework.git/commit
Fix duplicate grid column visibility change event (#11565) 8.8.1
authorcuong-phan <39257573+cuong-phan@users.noreply.github.com>
Thu, 16 May 2019 08:53:24 +0000 (11:53 +0300)
committerSun Zhe <31067185+ZheSun88@users.noreply.github.com>
Thu, 16 May 2019 10:32:54 +0000 (13:32 +0300)
commitd79d65c5f38787bfb2f773ffa4f6fcfeb491630a
treed7aaa0504a646b9767c847a68c6728f28f565c7a
parent1d521812572c430ca0042ad8f9fe8e2e4d6057a5
Fix duplicate grid column visibility change event (#11565)

* Fix duplicate grid column visibility change event

Toggle a column visibility through UI will fire 2 event. There should be only 1.

* Add Test
server/src/main/java/com/vaadin/ui/Grid.java
uitest/src/main/java/com/vaadin/tests/components/grid/GridEventSentOnColumnVisibilityChange.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/tests/components/grid/GridEventSentOnColumnVisibilityChangeTest.java [new file with mode: 0644]