diff options
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); } |