mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-28 17:01:14 +00:00
Update UI for canClose function
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user