: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:
ChanMyeong 2013-01-14 06:44:18 +00:00
parent 58a8491edc
commit cb2e9df71b
10 changed files with 18 additions and 18 deletions

View file

@ -167,7 +167,7 @@ jQuery(function($){
var $docTable = $('#commentListTable');
$docTable.find(':checkbox').change(function(){
var $modalAnchor = $('a[data-value]');
if($docTable.find(':checked').length == 0){
if($docTable.find('tbody :checked').length == 0){
$modalAnchor.removeAttr('href').addClass('x_disabled');
} else {
$modalAnchor.attr('href','#listManager').removeClass('x_disabled');
@ -175,7 +175,7 @@ jQuery(function($){
}).change();
// Button action
$('a[data-value]').click(function(){
if($docTable.find(':checked').length == 0){
if($docTable.find('tbody :checked').length == 0){
$('body').css('overflow','auto');
alert('{$lang->msg_not_selected_document}');
return false;