mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 07:11:42 +09:00
issue 160, fixed a bug for infinite loop in XE.cheackboxToggleAll
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9347 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
921cd81010
commit
67a31ed436
1 changed files with 3 additions and 2 deletions
|
|
@ -46,6 +46,7 @@ if(jQuery) jQuery.noConflict();
|
|||
itemName = arguments[0];
|
||||
} else {
|
||||
$.extend(options, arguments[0] || {});
|
||||
itemName = 'cart';
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
|
|
@ -61,8 +62,8 @@ if(jQuery) jQuery.noConflict();
|
|||
} else {
|
||||
var obj = $('input[name='+itemName+']:checkbox');
|
||||
}
|
||||
|
||||
if(options.checked == 'toggle') {
|
||||
|
||||
if(options.checked == 'toggle') {
|
||||
obj.each(function() {
|
||||
$(this).attr('checked', ($(this).attr('checked')) ? false : true);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue