File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
main/java/gwt/material/design/client/ui
test/java/gwt/material/design/client/ui Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 44 <parent >
55 <artifactId >gwt-material-parent</artifactId >
66 <groupId >com.github.gwtmaterialdesign</groupId >
7- <version >2.7.0-SNAPSHOT </version >
7+ <version >2.7.0</version >
88 </parent >
99 <modelVersion >4.0.0</modelVersion >
1010
Original file line number Diff line number Diff line change @@ -143,8 +143,12 @@ public void unload() {
143143 // Hook for materialize bug on dropdown for not having closed once detach
144144 if (getElement () != null && isAttached ()) {
145145 getElement ().getStyle ().setDisplay (Style .Display .NONE );
146+
147+ }
148+
149+ if (activatorElement != null ) {
150+ $ (activatorElement ).dropdown ("remove" );
146151 }
147- $ (activatorElement ).dropdown ("remove" );
148152 }
149153
150154 @ Override
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public void testStructure() {
6363 assertEquals (Color .RED , chip .getIconColor ());
6464
6565 assertEquals (chip .getChipLabel (), chip .getWidget (0 ));
66- assertEquals (chip .getIcon (), chip .getWidget (1 ));
66+ assertEquals (chip .getPrefixIcon (), chip .getWidget (1 ));
6767 }
6868
6969 public void testLetter () {
Original file line number Diff line number Diff line change 55
66 <groupId >com.github.gwtmaterialdesign</groupId >
77 <artifactId >gwt-material-parent</artifactId >
8- <version >2.7.0-SNAPSHOT </version >
8+ <version >2.7.0</version >
99 <packaging >pom</packaging >
1010 <modules >
1111 <module >gwt-material</module >
You can’t perform that action at this time.
0 commit comments