Skip to content

Commit 2dd3066

Browse files
authored
Merge pull request #438 from GwtMaterialDesign/release_2.7.1
Release 2.7.1
2 parents 0d6ae49 + 0cf2449 commit 2dd3066

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ cache:
88
- $HOME/.m2
99
before_install:
1010
# install the gwt-material-jquery library before we build the demo
11-
- git clone -b release_2.7.0 https://github.com/GwtMaterialDesign/gwt-material-jquery.git
11+
- git clone -b release_2.7.1 https://github.com/GwtMaterialDesign/gwt-material-jquery.git
1212
- cd gwt-material-jquery
1313
- mvn install -DskipTests=true -DdryRun=true
1414
- cd ..
1515
# install the gwt-material library before we build the demo
16-
- git clone -b release_2.7.0 https://github.com/GwtMaterialDesign/gwt-material.git
16+
- git clone -b release_2.7.1 https://github.com/GwtMaterialDesign/gwt-material.git
1717
- cd gwt-material
1818
- mvn install -DskipTests=true -DdryRun=true
1919
- cd ..
2020
# install the gwt-material-table library before we build the demo
21-
- git clone -b release_2.7.0 https://github.com/GwtMaterialDesign/gwt-material-table.git
21+
- git clone -b release_2.7.1 https://github.com/GwtMaterialDesign/gwt-material-table.git
2222
- cd gwt-material-table
2323
- mvn install -DskipTests=true -DdryRun=true
2424
- cd ..

.utility/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
set -ev
3-
if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "release_2.8.0" ]; then
3+
if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "release_2.7.1" ]; then
44
echo "<settings><servers><server><id>ossrh</id><username>\${env.OSSRH_USER}</username><password>\${env.OSSRH_PASS}</password></server></servers></settings>" > ~/settings.xml
55
mvn deploy -DskipTests --settings ~/settings.xml
66
fi

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
Gwt Material Design Extra Components for https://github.com/GwtMaterialDesign/gwt-material <br>
88

9-
## Current Version 2.7.0
9+
## Current Version 2.7.1
1010
```xml
1111
<dependency>
1212
<groupId>com.github.gwtmaterialdesign</groupId>
1313
<artifactId>gwt-material-addins</artifactId>
14-
<version>2.7.0</version>
14+
<version>2.7.1</version>
1515
</dependency>
1616
```
1717

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>gwt-material-parent</artifactId>
77
<groupId>com.github.gwtmaterialdesign</groupId>
8-
<version>2.7.0</version>
8+
<version>2.7.1</version>
99
</parent>
1010

1111
<artifactId>gwt-material-addins</artifactId>
@@ -24,7 +24,7 @@
2424
<connection>scm:git:[email protected]:GwtMaterialDesign/gwt-material-addins.git</connection>
2525
<developerConnection>scm:git:[email protected]:GwtMaterialDesign/gwt-material-addins.git</developerConnection>
2626
<url>http://github.com/GwtMaterialDesign/gwt-material-addins</url>
27-
<tag>v2.7.0</tag>
27+
<tag>v2.7.1</tag>
2828
</scm>
2929

3030
<licenses>

src/main/java/gwt/material/design/incubator/client/google/addresslookup/AddressLookup.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
*/
2020
package gwt.material.design.incubator.client.google.addresslookup;
2121

22+
import com.google.gwt.core.client.Scheduler;
2223
import com.google.gwt.event.shared.HandlerRegistration;
2324
import gwt.material.design.client.constants.Autocomplete;
2425
import gwt.material.design.client.ui.MaterialTextBox;
@@ -83,6 +84,7 @@ public class AddressLookup extends MaterialTextBox
8384
public AddressLookup() {
8485
setPlaceholder("");
8586
setAutocomplete(Autocomplete.OFF);
87+
addStyleName("address-lookup");
8688
}
8789

8890
/**
@@ -102,8 +104,10 @@ protected void onLoad() {
102104
}
103105

104106
public void load() {
105-
addressLookup = new JsAddressLookup(valueBoxBase.getElement(), options);
106-
addressLookup.addListener(AddressLookupEvents.PLACE_CHANGED, () -> PlaceChangedEvent.fire(AddressLookup.this));
107+
Scheduler.get().scheduleDeferred(() -> {
108+
addressLookup = new JsAddressLookup(valueBoxBase.getElement(), options);
109+
addressLookup.addListener(AddressLookupEvents.PLACE_CHANGED, () -> PlaceChangedEvent.fire(AddressLookup.this));
110+
});
107111
}
108112

109113
/**

0 commit comments

Comments
 (0)