Skip to content

Commit

Permalink
Merge pull request #148 from imonteiro/patch-2
Browse files Browse the repository at this point in the history
Click Table Row
  • Loading branch information
ThaDafinser committed Apr 16, 2015
2 parents 6c0c7ac + 7339f56 commit 5a7c2cb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion view/zfc-datagrid/renderer/bootstrapTable/footer.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ $( document ).ready(function() {
form.submit();
document.body.removeChild(form);
});

$('#<?php echo $this->gridId; ?> tr').click(function(event) {
if (event.target.type !== 'checkbox') {
$(':checkbox', this).trigger('click');
}
});
});

<?php $this->inlineScript()->captureEnd(); ?>
<?php $this->inlineScript()->captureEnd(); ?>

0 comments on commit 5a7c2cb

Please sign in to comment.