diff options
author | Manolo Carrasco <manolo@apache.org> | 2010-06-21 13:48:52 +0000 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2010-06-21 13:48:52 +0000 |
commit | b7e8d2ba74b5fa2277242f85e26357b40f76a572 (patch) | |
tree | dc5f59fa65b201dfda2903d9bc03997eb91f067e /plugins | |
parent | 3cfcf82b4607d375bbcf7e663fd989c8720a05aa (diff) | |
download | gwtquery-b7e8d2ba74b5fa2277242f85e26357b40f76a572.tar.gz gwtquery-b7e8d2ba74b5fa2277242f85e26357b40f76a572.zip |
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/src/main/java/gwtquery/plugins/ratings/Ratings.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/src/main/java/gwtquery/plugins/ratings/Ratings.java b/plugins/src/main/java/gwtquery/plugins/ratings/Ratings.java index f47fcac2..5f877b5d 100644 --- a/plugins/src/main/java/gwtquery/plugins/ratings/Ratings.java +++ b/plugins/src/main/java/gwtquery/plugins/ratings/Ratings.java @@ -4,6 +4,7 @@ import com.google.gwt.core.client.JsArray; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.NodeList; import com.google.gwt.query.client.Function; +import com.google.gwt.query.client.GQUtils; import com.google.gwt.query.client.GQuery; import com.google.gwt.query.client.JSArray; import com.google.gwt.query.client.Plugin; @@ -295,7 +296,7 @@ public class Ratings extends GQuery { rater.addClass("rating-to-be-drawn"); // Accept readOnly setting from 'disabled' property - if (SelectorEngine.truth(input.attr("disabled"))) { + if (GQUtils.truth(input.attr("disabled"))) { control.setReadOnly(true); } |