Question
CTS
CA
Last activity: 14 Sep 2017 4:47 EDT
Pega 5.4, on button click do action not executing sometimes - JS error Debugger F12
I have created a button in 5.4 and in that doaction i am calling a activity to perform some service call and calling Call Show-Harness to refresh the screen with the latest data.
it works perfectly, but when sometimes I repeat clicking the button, nothing happeing in the UI and it is still. I opened F12 and observed below error
Error: Unable to get property 'pega' of undefined or null reference
function _doOnMouseClick(){
if(!pega.ui.WindowPane){
pega.ui.WindowPane={};
}
if(!pega.ui.WindowPane.oManager){
try{
if(typeof (gRuleFormManager)=="object"){
var _1=gRuleFormManager.wrapperAPI.rulesExplorerQuery("getFormFrameWindow");
}else{
var _1=rulesExplorerQuery("getFormFrameWindow");
}
pega.ui.WindowPane.oManager=_1.pega.ui.WindowPane.oManager;
Unable to get property 'pega' of undefined or null reference
}
catch(e){
Kindly help