Bug in slider block

Permalink
Hello,

I think i found a litte bug in the silder.

In form_setup_html.php at the field for maximum width, there is
<div class="form-group">
        <?php echo $form->label('maxWidth', t('Maximum Slide Width (0 means no limit)')); ?>
        <?php echo $form->number('speed', $speed ? $speed : 0, array('min' => '1', 'max' => '4000'))?><span class="input-group-addon"><?php echo t('px'); ?></span>
    </div>


I think that should be
<div class="form-group">
        <?php echo $form->label('maxWidth', t('Maximum Slide Width (0 means no limit)')); ?>
        <?php echo $form->number('maxWidth', $maxWidth ? $maxWidth : 0, array('min' => '1', 'max' => '4000'))?><span class="input-group-addon"><?php echo t('px'); ?></span>
    </div>


I wonder if I am the first one who can't store a slider with maxwidth = 0

Cheers
Harald

HarryVienna
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi HarryVienna,

This has been fixed and should be available in the next release.