diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-07-09 20:08:05 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-07-09 20:08:05 +0200 |
commit | d1612a42ec508f3ef0f61163d181e01931b9157c (patch) | |
tree | e2f8da4c115c156a01caa9aa7c419a0084cba047 /kvision-modules/kvision-upload | |
parent | d0ea8ade727c756aab6c878773fb2873ec41cd23 (diff) | |
download | kvision-d1612a42ec508f3ef0f61163d181e01931b9157c.tar.gz kvision-d1612a42ec508f3ef0f61163d181e01931b9157c.tar.bz2 kvision-d1612a42ec508f3ef0f61163d181e01931b9157c.zip |
New DOM bindings. Drop horrible "strictDOM" property.
Diffstat (limited to 'kvision-modules/kvision-upload')
-rw-r--r-- | kvision-modules/kvision-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/UploadInput.kt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kvision-modules/kvision-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/UploadInput.kt b/kvision-modules/kvision-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/UploadInput.kt index 39c4c4c6..21073e61 100644 --- a/kvision-modules/kvision-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/UploadInput.kt +++ b/kvision-modules/kvision-upload/src/main/kotlin/pl/treksoft/kvision/form/upload/UploadInput.kt @@ -138,10 +138,6 @@ open class UploadInput(uploadUrl: String? = null, multiple: Boolean = false, cla private val nativeFiles: MutableMap<KFile, File> = mutableMapOf() - init { - this.vnkey = "kv_uploadinput_${counter++}" - } - override fun render(): VNode { return render("input") } @@ -316,7 +312,6 @@ open class UploadInput(uploadUrl: String? = null, multiple: Boolean = false, cla } companion object { - internal var counter = 0 /** * DSL builder extension function. |