Allow smart blocks with no criteria
This commit is contained in:
parent
f05157c376
commit
01b3ae1bf0
4 changed files with 55 additions and 35 deletions
|
@ -89,9 +89,9 @@
|
|||
}
|
||||
$nextDisabled = $this->element->getElement("sp_criteria_field_".$nextIndex)->getAttrib('disabled') == 'disabled'?true:false;
|
||||
?>
|
||||
<div <?php if (($i > 0) && $disabled) {
|
||||
echo 'style=display:none';
|
||||
} ?>>
|
||||
<div <?php if (/*($i > 0) && */ $disabled) {
|
||||
echo 'style=display:none';
|
||||
} ?> >
|
||||
<?php echo $this->element->getElement("sp_criteria_field_".$i."_".$j) ?>
|
||||
<?php echo $this->element->getElement("sp_criteria_modifier_".$i."_".$j) ?>
|
||||
<?php echo $this->element->getElement("sp_criteria_value_".$i."_".$j) ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue