Skip to content
Snippets Groups Projects
Commit 203cf11c authored by Prasad's avatar Prasad
Browse files

Merge branch '1552' into 'master'

Fixes #1552: Bug in Contacts_Detail_Js.checkForPortalUser()

Closes #1552

See merge request !1134
parents d6b0fdc9 148478eb
No related branches found
No related tags found
1 merge request!1134Fixes #1552: Bug in Contacts_Detail_Js.checkForPortalUser()
......@@ -31,7 +31,7 @@ Vtiger_Detail_Js("Contacts_Detail_Js", {}, {
return false;
}
var primaryEmailValue = primaryEmailField["0"].data("value");
var primaryEmailValue = primaryEmailField.data("value");
if (primaryEmailValue == "") {
app.helper.showErrorNotification({message: app.vtranslate('JS_PLEASE_ENTER_PRIMARY_EMAIL_VALUE_TO_ENABLE_PORTAL_USER')});
return false;
......@@ -47,4 +47,4 @@ Vtiger_Detail_Js("Contacts_Detail_Js", {}, {
this._super();
this.registerAjaxPreSaveEvents(form);
}
})
\ No newline at end of file
})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment