version 1.87, 2009/10/30 04:44:56
|
version 1.88, 2009/10/31 14:27:48
|
Line 223 ENDONE
|
Line 223 ENDONE
|
$process_pick .= <<"ENDTWO"; |
$process_pick .= <<"ENDTWO"; |
if (pickedDomain == dom) { |
if (pickedDomain == dom) { |
if (pickedCourse != '') { |
if (pickedCourse != '') { |
var courseTarget = "cc./"+pickedDomain+"/"+pickedCourse |
var ccrole = "cc"; |
|
var pickedType = "$env{'form.type'}"; |
|
if (pickedType == "Community") { |
|
ccrole = "co"; |
|
} |
|
var courseTarget = ccrole+"./"+pickedDomain+"/"+pickedCourse |
opener.document.title='Role selected. Please stand by.'; |
opener.document.title='Role selected. Please stand by.'; |
opener.status='Role selected. Please stand by.'; |
opener.status='Role selected. Please stand by.'; |
opener.document.rolechoice.newrole.value=courseTarget |
opener.document.rolechoice.newrole.value=courseTarget |
Line 891 sub gochoose_javascript {
|
Line 896 sub gochoose_javascript {
|
list => 'courselist', |
list => 'courselist', |
}, |
}, |
'Community' => { |
'Community' => { |
name => 'grouppick', |
name => 'coursepick', |
total => 'grouptotal', |
total => 'coursetotal', |
list => 'grouplist', |
list => 'courselist', |
}, |
}, |
); |
); |
my $output .= qq| |
my $output .= qq| |