diff --git a/src/main/webapp/resources/js/fims/cmmn/detect.js b/src/main/webapp/resources/js/fims/cmmn/detect.js index dba82e2d..87a0099f 100644 --- a/src/main/webapp/resources/js/fims/cmmn/detect.js +++ b/src/main/webapp/resources/js/fims/cmmn/detect.js @@ -75,7 +75,7 @@ function detectElementEvent(){ let findedCtrl = null; for(var member in window){ if(window[member] instanceof DatasetControl){ - if(window[member].doctx == doctx){ + if(window[member].doctx == "[data-doctx='"+doctx+"']"){ findedCtrl = window[member]; } } @@ -253,7 +253,7 @@ function detectByInference(inference, args){ let findedCtrl = null; for(var member in window){ if(window[member] instanceof DatasetControl){ - if(window[member].doctx == doctx){ + if(window[member].doctx == "[data-doctx='"+doctx+"']"){ findedCtrl = window[member]; } }