* [perf bug #50508] open edit bug page in modal when from modal.

This commit is contained in:
wangyidong
2024-06-11 09:52:49 +08:00
parent 5c4fc2c472
commit 2eb1ed858c
+6
View File
@@ -75,6 +75,12 @@ if(!$bug->deleted)
}
$actions[$key] = $action;
}
if($action['icon'] == 'edit' && isInModal())
{
$action['data-load'] = 'modal';
$action['data-size'] = 'lg';
$actions[$key] = $action;
}
}
}