* Change program and project acl list.

This commit is contained in:
Yagami
2020-10-15 09:48:18 +08:00
parent 7d7305bab8
commit 72008ca246
7 changed files with 57 additions and 20 deletions
+13
View File
@@ -0,0 +1,13 @@
$(function(){$('#parent').change();})
function setAclList(programID)
{
if(programID != 0)
{
$('.aclBox').html($('#subPGMAcl').html());
}
else
{
$('.aclBox').html($('#PGMAcl').html());
}
}
+12
View File
@@ -19,3 +19,15 @@ function setCopyProject(copyProjectID)
{
location.href = createLink('program', 'PRJCreate', 'template=' + template + '&programID=' + programID + '&from=' + from + '&copyProjectID=' + copyProjectID);
}
function setAclList(programID)
{
if(programID != 0)
{
$('.aclBox').html($('#PGMAcl').html());
}
else
{
$('.aclBox').html($('#PRJAcl').html());
}
}