From eec3488fa60f57c9f02d22030f332c1e4b5eda14 Mon Sep 17 00:00:00 2001
From: 付煜 <fuyu3103346691@163.com>
Date: 星期二, 12 四月 2022 09:47:42 +0800
Subject: [PATCH] 下拉列表不显示修改
---
force-app/main/default/pages/NewAndEditContact.page | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/pages/NewAndEditContact.page b/force-app/main/default/pages/NewAndEditContact.page
index 93657c4..3b78be9 100644
--- a/force-app/main/default/pages/NewAndEditContact.page
+++ b/force-app/main/default/pages/NewAndEditContact.page
@@ -191,7 +191,7 @@
}
let phone = document.querySelector(textPhone);
- if(phone ){
+ if(phone && false ){
if(phone.value){
if(!/^1[3|5|8|7][0-9]\d{4,8}$/.test(phone.value)){
error_msg += ';鐢佃瘽鍙风爜閿欒';
@@ -374,6 +374,7 @@
function alertErrorMessage(errorMsg) {
let errorMsgNode = document.getElementById("page:form:block:msgContent");
+ errorMsg = '閿欒锛氭棤鏁堟暟鎹��' + '\n' + errorMsg;
errorMsgNode.innerText = errorMsg;
errorMsgNode.className = 'pbError';
}
@@ -487,6 +488,7 @@
}
jQuery('a[data-id="OwnerId"]').remove();
+ /*
jQuery(".lookupInput").each(function(i,e){
let je =jQuery(e).find('input');
je.attr("readonly","");
@@ -515,7 +517,7 @@
hidden.value = '';
}
}
- });
+ });*/
var layoutSections = JSON.parse('{!layoutSectionsStr}');
for (let m = 0; m < layoutSections.length; m++) {
--
Gitblit v1.9.1