Skip to content
This repository has been archived by the owner on Aug 5, 2019. It is now read-only.

Commit

Permalink
#486 Button.state.reset() gets text from inner TextNode element
Browse files Browse the repository at this point in the history
  • Loading branch information
reinert committed Feb 24, 2014
1 parent db4f1c2 commit eba0e1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ private void setLoadingBehavior(String behavior) {

// Recreate icon and add it to inner content with setText()
icon = new Icon(icon.getIconType());
setText(getElement().getInnerText());
setText(getText());
}

private native void setLoadingBehavior(Element e, String behavior) /*-{
Expand Down

0 comments on commit eba0e1e

Please sign in to comment.