mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 23:03:25 +09:00
:checked list count bug fix.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12546 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
58a8491edc
commit
cb2e9df71b
10 changed files with 18 additions and 18 deletions
|
|
@ -110,7 +110,7 @@ jQuery(function($){
|
|||
var $docTable = $('#pollListTable');
|
||||
var $submit = $('#pollList [type="submit"]');
|
||||
$docTable.find(':checkbox').change(function(){
|
||||
if($docTable.find(':checked').length == 0){
|
||||
if($docTable.find('tbody :checked').length == 0){
|
||||
$submit.addClass('x_disabled');
|
||||
} else {
|
||||
$submit.removeClass('x_disabled');
|
||||
|
|
@ -118,7 +118,7 @@ jQuery(function($){
|
|||
}).change();
|
||||
// Button action
|
||||
$submit.click(function(){
|
||||
if($docTable.find(':checked').length == 0){
|
||||
if($docTable.find('tbody :checked').length == 0){
|
||||
alert(xe.lang.msg_select_poll);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue