diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-05-25 19:21:09 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-05-25 19:21:09 +0200 |
commit | bac7645ae8a7cf502c2dde4180d1b1f8c81ae17c (patch) | |
tree | a06702fb49a8bc9a3228a5dab67ba33c0a7bc62c /src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt | |
parent | 4df5c5e0801e6077c6472883338ee6b9b66fadfa (diff) | |
download | kvision-bac7645ae8a7cf502c2dde4180d1b1f8c81ae17c.tar.gz kvision-bac7645ae8a7cf502c2dde4180d1b1f8c81ae17c.tar.bz2 kvision-bac7645ae8a7cf502c2dde4180d1b1f8c81ae17c.zip |
A dialog component.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt | 1 |
1 files changed, 1 insertions, 0 deletions
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 }) }) } |