File tree Expand file tree Collapse file tree 5 files changed +14
-10
lines changed
src/main/java/gwt/material/design/incubator/client/google/addresslookup Expand file tree Collapse file tree 5 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 88 - $HOME/.m2
99before_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 ..
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -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
66fi
Original file line number Diff line number Diff line change 66
77Gwt 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
Original file line number Diff line number Diff line change 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 >
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 >
Original file line number Diff line number Diff line change 1919 */
2020package gwt .material .design .incubator .client .google .addresslookup ;
2121
22+ import com .google .gwt .core .client .Scheduler ;
2223import com .google .gwt .event .shared .HandlerRegistration ;
2324import gwt .material .design .client .constants .Autocomplete ;
2425import 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 /**
You can’t perform that action at this time.
0 commit comments