aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-datetime/src/main/kotlin/pl
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-07-13 01:22:56 +0200
committerRobert Jaros <rjaros@finn.pl>2019-07-13 01:22:56 +0200
commit426da03b5a4e2d715c086e1bfd92b34358ae17ee (patch)
treec842225bf95ee06399cbc9caf546d467f24246cf /kvision-modules/kvision-datetime/src/main/kotlin/pl
parentba5c00b6992d28cfb6afc7fab108c9009f9e1b7c (diff)
downloadkvision-426da03b5a4e2d715c086e1bfd92b34358ae17ee.tar.gz
kvision-426da03b5a4e2d715c086e1bfd92b34358ae17ee.tar.bz2
kvision-426da03b5a4e2d715c086e1bfd92b34358ae17ee.zip
Style fixes. Suppress style warnings.
Diffstat (limited to 'kvision-modules/kvision-datetime/src/main/kotlin/pl')
-rw-r--r--kvision-modules/kvision-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/kvision-modules/kvision-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt b/kvision-modules/kvision-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt
index 8de8d088..a375ef35 100644
--- a/kvision-modules/kvision-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt
+++ b/kvision-modules/kvision-datetime/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt
@@ -260,12 +260,15 @@ open class DateTimeInput(
private fun initEventHandlers() {
this.getElementJQuery()?.on("changeDate") { e, _ ->
+ @Suppress("UnsafeCastFromDynamic")
this.dispatchEvent("change", obj { detail = e })
}
this.getElementJQuery()?.on("show") { e, _ ->
+ @Suppress("UnsafeCastFromDynamic")
this.dispatchEvent("showBsDateTime", obj { detail = e })
}
this.getElementJQuery()?.on("hide") { e, _ ->
+ @Suppress("UnsafeCastFromDynamic")
this.dispatchEvent("hideBsDateTime", obj { detail = e })
}
}