diff --git a/module/program/js/pgmedit.js b/module/program/js/pgmedit.js index 00bd6061e0..21de13d9eb 100644 --- a/module/program/js/pgmedit.js +++ b/module/program/js/pgmedit.js @@ -1,15 +1,3 @@ -$(function() -{ - setAclList($("#parent").val()); -}); - -/** - * Set acl list. - * - * @param programID $programID - * @access public - * @return void - */ function setAclList(programID) { if(programID != 0) @@ -21,14 +9,3 @@ function setAclList(programID) $('.aclBox').html($('#PGMAcl').html()); } } - -/** - * Set parent program. - * - * @access public - * @return void - */ -function setParentProgram(programID) -{ - location.href = createLink('program', 'PGMCreate', 'programID=' + programID); -} diff --git a/module/program/view/pgmedit.html.php b/module/program/view/pgmedit.html.php index 31bf5cbba6..b4dfc79eab 100644 --- a/module/program/view/pgmedit.html.php +++ b/module/program/view/pgmedit.html.php @@ -25,7 +25,7 @@
| program->PGMParent;?> | -parent, "class='form-control chosen' onchange=setParentProgram(this.value)");?> | +parent, "class='form-control chosen' onchange=setAclList(this.value)");?> | ||
|---|---|---|---|---|