mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-23 12:59:11 -04:00
Return the form on success so that we clear out any prior error forms
This commit is contained in:
@@ -42,7 +42,8 @@ class Admin_Users_Controller extends Controller {
|
||||
'</div></li>';
|
||||
print json_encode(
|
||||
array("result" => "success", "operation" => "create",
|
||||
"output" => $output));
|
||||
"output" => $output,
|
||||
"form" => user::get_add_form_admin()));
|
||||
} else {
|
||||
print json_encode(
|
||||
array("result" => "error",
|
||||
|
||||
Reference in New Issue
Block a user