reworked dojo query to apply only to amenity checkboxes as there are also hidden inputs inside the targeted div.
http://jira.springframework.org/browse/SWF-865
This commit is contained in:
@@ -102,7 +102,7 @@
|
||||
<li><form:checkbox path="amenities" value="MINIBAR" label="Minibar" /></li>
|
||||
</ul>
|
||||
<script type="text/javascript">
|
||||
dojo.query('#amenities input').forEach(function(element){
|
||||
dojo.query("#amenities input[type='checkbox']").forEach(function(element){
|
||||
Spring.addDecoration(new Spring.ElementDecoration({
|
||||
elementId: element.id,
|
||||
widgetType : "dijit.form.CheckBox",
|
||||
|
||||
Reference in New Issue
Block a user