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() {
$.post(`https://${GetParentResourceName()}/closed`)
Closed()
$.post(`https://${GetParentResourceName()}/closed`,(retVal)=>{
if(retVal){
Closed()
}
})
}
window.addEventListener("message", (e) => {
@@ -437,4 +440,4 @@
</script>
</body>
</html>
</html>