mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-02-01 09:39:58 +09:00
issue 912 add public item option.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@10987 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f8cb63a526
commit
2a268b8f37
7 changed files with 41 additions and 14 deletions
|
|
@ -62,7 +62,7 @@ jQuery(function($){
|
|||
suForm.slideUp(200);
|
||||
}
|
||||
});
|
||||
suForm.find(':checkbox').each(function(){
|
||||
suForm.find(':checkbox[name="usable_list[]"]').each(function(){
|
||||
var $i = $(this);
|
||||
$i.change(function(){
|
||||
if($i.is(':checked')){
|
||||
|
|
@ -70,10 +70,18 @@ jQuery(function($){
|
|||
.find(':radio, :text')
|
||||
.removeAttr('disabled')
|
||||
.end()
|
||||
.find(':radio[value=option]').attr('checked', 'checked');
|
||||
.find(':radio[value=option]').attr('checked', 'checked')
|
||||
.end()
|
||||
.next('td')
|
||||
.find(':input[value=Y]').removeAttr('disabled').attr('checked', 'checked');
|
||||
|
||||
} else {
|
||||
$i.parent('td').next('td').find(':radio, :text').attr('disabled','disabled').removeAttr('checked').next('label').css('fontWeight','normal');
|
||||
$i.parent('td').next('td')
|
||||
.find(':radio, :text').attr('disabled','disabled').removeAttr('checked')
|
||||
.next('label').css('fontWeight','normal').end()
|
||||
.end()
|
||||
.next('td')
|
||||
.find(':input[value=Y]').removeAttr('checked').attr('disabled', 'disabled');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue