This commit is contained in:
liyuchun
2022-07-15 01:06:24 +00:00
parent 9b26371429
commit 460e4cf336
+1
View File
@@ -1139,6 +1139,7 @@ class repo extends control
*/
public function ajaxGetDropMenu($repoID, $module = 'repo', $method = 'browse')
{
if($module == 'repo' and !in_array($method, array('review', 'diff'))) $method = 'browse';
if($module == 'mr') $method = 'browse';
if($module == 'job') $method = 'browse';
if($module == 'compile' and $method == 'logs') $method = 'browse';