Changeset 15947
- Timestamp:
- 02/05/12 23:25:57 (4 months ago)
- File:
-
- 1 edited
-
trunk/templates/base/scripts/BxBaseFormView.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/base/scripts/BxBaseFormView.php
r15907 r15947 879 879 880 880 function _genInputsSet(&$aInput, $sType, $mixedCurrentVal, $sIsCheckedFunc, $sNameAppend = '') { 881 $aAttrs = empty($aInput['attrs']) ? array() : $aInput['attrs']; 881 882 $aAttrs = empty($aInput['attrs']) || 'radio_set' == $aInput['type'] || 'checkbox_set' == $aInput['type'] ? array() : $aInput['attrs']; 882 883 883 884 $aAttrs['name'] = $aInput['name']; … … 906 907 'checked' => $this->$sIsCheckedFunc($sValue, $mixedCurrentVal), 907 908 'label' => $sLabel, 909 'attrs' => !empty($aInput['attrs']) && ('radio_set' == $aInput['type'] || 'checkbox_set' == $aInput['type']) ? $aInput['attrs'] : false, 908 910 ); 909 911
Note: See TracChangeset
for help on using the changeset viewer.