From 3ae41d772127e6924fc5aea8c453186248ce0e3c Mon Sep 17 00:00:00 2001 From: Tom Buskirk Date: Thu, 27 Dec 2018 14:46:38 -0600 Subject: [PATCH] #14 #15 #16 Corrected Issues --- index.html | 6 ++--- js/cass-ui-prf-exp/cui-pe-session-util.js | 28 +++++++++++++++++------ 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index 940ecf9..660a415 100644 --- a/index.html +++ b/index.html @@ -37,9 +37,9 @@

Tools diff --git a/js/cass-ui-prf-exp/cui-pe-session-util.js b/js/cass-ui-prf-exp/cui-pe-session-util.js index 0696743..3f50514 100644 --- a/js/cass-ui-prf-exp/cui-pe-session-util.js +++ b/js/cass-ui-prf-exp/cui-pe-session-util.js @@ -77,7 +77,17 @@ function getPersonObjectPk(po) { return poPk; } +function buildPersonObjectName(po) { + var name = getStringVal(po.getName()); + if (!name || name.trim() == "") { + name = (po.givenName ? po.givenName + " " : ""); + name += (po.familyName ? po.familyName : ""); + } + return name.trim(); +} + function buildViewableProfileData(ecpa) { + var addedProfiles = []; viewableProfileList = []; viewableProfileByPkPemMap = {}; viewableProfileByPersonIdMap = {}; @@ -85,13 +95,17 @@ function buildViewableProfileData(ecpa) { for (var i=0;i