Skip to content

Commit

Permalink
[KNOWAGE-8153] changed postMessage restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
Redjaw authored Mar 5, 2024
1 parent 7f56b8a commit af3797e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ angular.module("cockpitModule").service("cockpitModule_generalServices",function
cockpitModule_properties.DOCUMENT_ID=response.data.id;
window.parent.postMessage(cockpitModule_properties);
if(window.parent.document.getElementById('_KNOWAGE_VUE')){
window.parent.postMessage({"type":"saveCockpit","model":cockpitModule_properties}, '*');
window.parent.postMessage({"type":"saveCockpit","model":cockpitModule_properties}, location.origin);
}
},
function(response){
Expand Down

0 comments on commit af3797e

Please sign in to comment.