1
1
mirror of https://github.com/renbaoshuo/S2OJ.git synced 2025-03-31 21:27:02 +00:00

feat(web/problems): redirect to edit page after create problem

This commit is contained in:
Baoshuo Ren 2023-01-13 08:37:20 +08:00
parent 8417f362e8
commit 71ecc24d19
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

@ -73,6 +73,9 @@ EOD;
])
]);
dataNewProblem($id);
redirectTo("/problem/{$id}/manage/statement");
die();
};
$new_problem_form->submit_button_config['align'] = 'right';
$new_problem_form->submit_button_config['class_str'] = 'btn btn-primary';