bug 1564 fixed: treat the checkbox as an exception when clicking on the
leading cell of the row. git-svn-id: http://piwigo.org/svn/trunk@5569 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
b6e82a7ac9
commit
b4cee39043
1 changed files with 5 additions and 3 deletions
|
@ -1,9 +1,11 @@
|
|||
{literal}
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$(".checkComment").click(function () {
|
||||
$(".checkComment").click(function(event) {
|
||||
if (event.target.type !== 'checkbox') {
|
||||
var checkbox = $(this).children("input[type=checkbox]");
|
||||
$(checkbox).attr('checked', !$(checkbox).is(':checked'));
|
||||
}
|
||||
});
|
||||
|
||||
$("#commentSelectAll").click(function () {
|
||||
|
|
Loading…
Reference in a new issue