Skip to content

Commit

Permalink
(Fixes #1225, #769) yiiGridView.js getChecked() was not working if cu…
Browse files Browse the repository at this point in the history
…stom template was used
  • Loading branch information
mdomba committed Aug 14, 2012
1 parent 8ea727b commit 63ffca0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -360,7 +360,7 @@
if (column_id.substring(column_id.length - 2) !== '[]') {
column_id = column_id + '[]';
}
this.children('.' + settings.tableClass).children('tbody').children('tr').children('td').children('input[name="' + column_id + '"]').each(function (i) {
this.find('.' + settings.tableClass).children('tbody').children('tr').children('td').children('input[name="' + column_id + '"]').each(function (i) {
if (this.checked) {
checked.push(keys.eq(i).text());
}
Expand Down

0 comments on commit 63ffca0

Please sign in to comment.