From 1b8c8764c39fc546ca1b85ff1810ae51be74331c Mon Sep 17 00:00:00 2001
From: Li Jun <buli@deloitte.com.cn>
Date: 星期四, 31 三月 2022 18:39:23 +0800
Subject: [PATCH] PIPL0331V2Deploy
---
force-app/main/default/pages/ViewLeadDecryptInfo.page | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/force-app/main/default/pages/ViewLeadDecryptInfo.page b/force-app/main/default/pages/ViewLeadDecryptInfo.page
index 21ae11c..d117a4f 100644
--- a/force-app/main/default/pages/ViewLeadDecryptInfo.page
+++ b/force-app/main/default/pages/ViewLeadDecryptInfo.page
@@ -1,4 +1,5 @@
<apex:page standardController="Lead" extensions="NewAndEditLeadController" id="page">
+ <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:includeScript value="{! URLFOR($Resource.AWSService, 'AWSService.js') }"/>
<script src="../../soap/ajax/53.0/connection.js" type="text/javascript"></script>
<apex:form id="form">
@@ -17,9 +18,11 @@
}
var queryBack = function queryBack(data) {
document.querySelector("[data-id='LastName']").innerHTML = data.object.lastName;
- document.querySelector("[id='page:form:pageBlock:pageBlockSection:j_id2:0:j_id3']").innerHTML = data.object.phone;
- document.querySelector("[data-id='Email']").innerHTML = data.object.email;
-
+ document.querySelector("[id='page:form:pageBlock:pageBlockSection:j_id3:0:j_id4']").innerHTML = data.object.phone;
+ //document.querySelector("[data-id='Email']").innerHTML = data.object.email;
+ let eml = document.querySelector("[data-id='Email']");
+ eml.href = 'mailto:'+data.object.email;
+ eml.text = data.object.email;
};
sfdcPage.appendToOnloadQueue(function () {
console.log('sfdcPage.appendToOnloadQueue')
--
Gitblit v1.9.1