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