HomeHelpTrac

Changeset 15599 for trunk/templates


Ignore:
Timestamp:
10/11/11 21:09:24 (8 months ago)
Author:
Alexander Trofimov
Message:

forms: fix for buttons and checkboxes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/base/scripts/BxBaseFormView.php

    r15546 r15599  
    569569        $aAttrs['class'] = "bx-def-font-inputs bx-form-input-{$aInput['type']} bx-btn" . ('submit' == $aInput['type'] ? ' bx-btn-primary' : '') . (isset($aAttrs['class']) ? ' ' . $aAttrs['class'] : ''); 
    570570        $aAttrs['type'] = $aInput['type']; 
     571        if (isset($aInput['value'])) 
     572            $aAttrs['value'] = $aInput['value']; 
     573 
    571574        if (isset($aInput['name'])) $aAttrs['name'] = $aInput['name']; 
    572575 
Note: See TracChangeset for help on using the changeset viewer.