// Code cleaning and small fixes

This commit is contained in:
Damien Metzger committed 2013-10-24 17:04:55 +02:00
1 parent f82322e426
commit df639337af
2 files changed
+2 -2

No files matched your search

@@ -27,7 +27,7 @@
{block name="label"} {block name="label"}
{if $input.type == 'color'} {if $input.type == 'color'}
<div id="colorAttributeProperties" "{if !$colorAttributeProperties}style="display:none"{/if};"> <div id="colorAttributeProperties" {if !$colorAttributeProperties}class="hide"{/if}>
{/if} {/if}
{if $input.type == 'closediv'} {if $input.type == 'closediv'}
</div> </div>
@@ -584,7 +584,7 @@ class AdminAttributesGroupsControllerCore extends AdminController
protected function setTypeAttribute() protected function setTypeAttribute()
{ {
if (Tools::getValue('updateattribute') || Tools::isSubmit('deleteattribute') || Tools::isSubmit('submitAddattribute') || Tools::isSubmit('submitBulkdeleteattribute')) if (Tools::isSubmit('updateattribute') || Tools::isSubmit('deleteattribute') || Tools::isSubmit('submitAddattribute') || Tools::isSubmit('submitBulkdeleteattribute'))
{ {
$this->table = 'attribute'; $this->table = 'attribute';
$this->className = 'Attribute'; $this->className = 'Attribute';