|
|
|
|
@ -261,7 +261,7 @@ class HTML_QuickForm_file extends HTML_QuickForm_input |
|
|
|
|
$ratio = ''; |
|
|
|
|
$scalable = $param['scalable']; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return '<script> |
|
|
|
|
$(document).ready(function() { |
|
|
|
|
var $inputFile = $(\'#'.$id.'\'), |
|
|
|
|
@ -393,7 +393,7 @@ class HTML_QuickForm_file extends HTML_QuickForm_input |
|
|
|
|
</div>'; |
|
|
|
|
break; |
|
|
|
|
case FormValidator::LAYOUT_HORIZONTAL: |
|
|
|
|
if($attributes['custom']){ |
|
|
|
|
if (isset($attributes['custom']) && $attributes['custom']) { |
|
|
|
|
$template = ' |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<div class="col-sm-1"></div> |
|
|
|
|
|