Update UI for canClose function

This commit is contained in:
Tony Stark
2022-12-20 23:07:36 +05:30
committed by GitHub
parent 684752c8ae
commit d0d2c84186
+6 -3
View File
@@ -352,8 +352,11 @@
} }
function Close() { function Close() {
$.post(`https://${GetParentResourceName()}/closed`) $.post(`https://${GetParentResourceName()}/closed`,(retVal)=>{
Closed() if(retVal){
Closed()
}
})
} }
window.addEventListener("message", (e) => { window.addEventListener("message", (e) => {
@@ -437,4 +440,4 @@
</script> </script>
</body> </body>
</html> </html>