* Add modal.alert of gitlab,jenkins,job.

This commit is contained in:
zhaoke
2023-06-21 19:01:46 +08:00
parent aaa66ee02b
commit a72d3da693
5 changed files with 18 additions and 12 deletions
+3 -2
View File
@@ -231,8 +231,9 @@ class gitlab extends control
$actionID = $this->pipeline->delete($id, 'gitlab');
if(!$actionID)
{
$response['result'] = 'fail';
$response['message'] = $this->lang->pipeline->delError;
$response['result'] = 'fail';
$response['callback'] = sprintf('zui.Modal.alert("%s");', $this->lang->pipeline->delError);
return $this->send($response);
}