* Finish task#8738. Add budget notes when change parent program.

This commit is contained in:
qiyu-xie
2020-12-29 10:08:30 +08:00
parent f35ddda6b4
commit 1ae6ec73ed
2 changed files with 23 additions and 2 deletions
+22 -1
View File
@@ -1,5 +1,15 @@
$(function(){$('#parent').change();})
$(function()
{
setAclList($("#parent").val());
});
/**
* Set acl list.
*
* @param programID $programID
* @access public
* @return void
*/
function setAclList(programID)
{
if(programID != 0)
@@ -11,3 +21,14 @@ function setAclList(programID)
$('.aclBox').html($('#PGMAcl').html());
}
}
/**
* Set parent program.
*
* @access public
* @return void
*/
function setParentProgram(programID)
{
location.href = createLink('program', 'PGMCreate', 'programID=' + programID);
}