feat(web/problems): redirect to edit page after create problem
All checks were successful
continuous-integration/drone/push Build is passing

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

View File

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