Commit 7caf1e6c authored by Penom Nom's avatar Penom Nom
Browse files

fix email bug with add and update users

parent ec06d580
......@@ -570,7 +570,7 @@ $(function () {
val_url += "&password=" + $("#user_password_pwd_val").val();
}
val_url += "&id=" + user_id ;
val_url += "&send_an_email=" + ($("#send_email_chk").attr("checked") == "checked");
val_url += "&send_an_email=" + $("#send_email_chk")[0].checked;
val_url += "&from_email=" + $("#from_email").val();
$.ajax({
......@@ -886,7 +886,7 @@ $(function () {
val_url += "&create_user_title=[NG6] Account creation";
val_url += "&from_email=" + $("#from_email").val();
val_url += "&project_url=" + escape(location.href);
val_url += "&send_an_email=" + ($("#send_email_chk").attr("checked") == "checked");
val_url += "&send_an_email=" + $("#send_email_chk")[0].checked;
$.ajax({
url: val_url,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment