Hello,
I'm using GC 1.5.1 and the Bootstrap theme, trying to get the Delete button to be out from underneath the 'More' button. I've moved the code from the <li> tag to be outside of the More dropdown in list_tbody.php but clicking the Delete button yields no results. It does not prompt for confirmation or actually delete the row.
Any ideas?
Original Code, in the dropdown:
<?php if (!$unset_delete) { ?> <li> <a data-target="<?php echo $row->delete_url?>" href="javascript:void(0)" title="<?php echo $this->l('list_delete')?>" class="delete-row"> <i class="fa fa-trash-o text-danger"></i> <span class="text-danger"><?php echo $this->l('list_delete')?></span> </a> </li> <?php } ?>
New Code, outside of the dropdown:
<?php if (!$unset_delete) { ?> <a data-target="<?php echo $row->delete_url?>" href="javascript:void(0)" title="<?php echo $this->l('list_delete')?>" class="delete-row btn btn-default"> <i class="fa fa-trash-o text-danger"></i> <span class="text-danger"><?php echo $this->l('list_delete')?></span> </a> <?php } ?>