Skip to content
Snippets Groups Projects
Commit 7bd524f1 authored by Prasad's avatar Prasad
Browse files

Contact ajax edit on Summary widget

parents 81027e3c 82031543
No related branches found
No related tags found
No related merge requests found
Showing
with 1 addition and 1 deletion
......@@ -23,7 +23,7 @@ Vtiger_Detail_Js("Contacts_Detail_Js", {}, {
var element = jQuery('[name="portal"]', form);
var response = element.is(':checked');
var primaryEmailField = jQuery('[data-name="email"]');
var primaryEmailValue = primaryEmailField["0"].attributes["data-value"].value;
if(primaryEmailField.length > 0) var primaryEmailValue = primaryEmailField["0"].attributes["data-value"].value;
if (response) {
if (primaryEmailField.length == 0) {
app.helper.showErrorNotification({message: app.vtranslate('JS_PRIMARY_EMAIL_FIELD_DOES_NOT_EXISTS')});
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
File deleted
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
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