Return the form on success so that we clear out any prior error forms

This commit is contained in:
Bharat Mediratta
2008-12-25 21:41:18 +00:00
parent 324b612003
commit 71d0373838

View File

@@ -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",