* Finish task#8738. Add budget notes when change parent program.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user