From bac7645ae8a7cf502c2dde4180d1b1f8c81ae17c Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 25 May 2018 19:21:09 +0200 Subject: A dialog component. --- src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt') diff --git a/src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt b/src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt index b77e8e2e..e09e9f7f 100644 --- a/src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt +++ b/src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt @@ -229,6 +229,7 @@ open class Modal( }) this.getElementJQuery()?.on("hidden.bs.modal", { e, _ -> this.visible = false + hide() this.dispatchEvent("hiddenBsModal", obj { detail = e }) }) } -- cgit