* Adjust codes.
This commit is contained in:
@@ -163,7 +163,6 @@ class mr extends control
|
||||
if($MR->canDeleteBranch and $priv->name == $MR->sourceBranch) $MR->canDeleteBranch = false;
|
||||
}
|
||||
|
||||
|
||||
$targetBranchList = array();
|
||||
foreach($branchList as $branch) $targetBranchList[$branch] = $branch;
|
||||
|
||||
@@ -1032,7 +1031,7 @@ class mr extends control
|
||||
* @param int $hostID
|
||||
* @param int|string $project
|
||||
* @access public
|
||||
* @return array
|
||||
* @return void
|
||||
*/
|
||||
public function ajaxGetBranchPivs($hostID, $project)
|
||||
{
|
||||
|
||||
@@ -28,7 +28,6 @@ function getBranchPriv(project)
|
||||
{
|
||||
branchPrivs = eval('(' + response + ')');
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
$(function()
|
||||
@@ -113,7 +112,6 @@ $(function()
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
$('#repoID').change(function()
|
||||
|
||||
Reference in New Issue
Block a user