js/lists/checkboxlist/checkboxlist.js in rsence-pre-2.2.0.36 vs js/lists/checkboxlist/checkboxlist.js in rsence-pre-2.2.0.37

- old
+ new

@@ -11,18 +11,19 @@ ** Please assume that the API _will_ change later. ** HCheckboxList is a combined list of HCheckboxes. ** ***/ var//RSence.Lists -HCheckboxList = HControl.extend({ +HCheckboxList = HListItemControl.extend({ /** = Description * Draws borders with 1px and sets 'overflow' to 'auto'. * **/ drawSubviews: function(){ this.setStyle('border','1px solid #999'); + this.setStyle('border-radius','3px'); this.setStyle('overflow','auto'); }, listItems: [], listItemViews: [], ListCheckbox: HCheckbox.extend({ @@ -101,9 +102,10 @@ * The value is mapped to the value of the HRadiobuttonList * instance when its HRadiobutton instance is selected. * **/ setListItems: function(_listItems){ + _listItems = this._cleanListItems(_listItems); var _listItem, _value, _label, _checked, _checkbox, \ No newline at end of file