summaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-02-09 20:01:33 +0100
committerRobert Jaros <rjaros@finn.pl>2018-02-09 20:01:33 +0100
commit4c55364efdc426faae10febda49ad40164fdab7a (patch)
treec4d995ed0fafd8828df960b465bc70c8147092be /src/main/kotlin/pl/treksoft/kvision
parentcc116ae15a1e6656da9b337960aa6938922bd661 (diff)
downloadkvision-4c55364efdc426faae10febda49ad40164fdab7a.tar.gz
kvision-4c55364efdc426faae10febda49ad40164fdab7a.tar.bz2
kvision-4c55364efdc426faae10febda49ad40164fdab7a.zip
Fix AJAX options.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/form/select/AjaxOptions.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/form/select/AjaxOptions.kt b/src/main/kotlin/pl/treksoft/kvision/form/select/AjaxOptions.kt
index c026ccfd..7fc91ddc 100644
--- a/src/main/kotlin/pl/treksoft/kvision/form/select/AjaxOptions.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/form/select/AjaxOptions.kt
@@ -107,7 +107,7 @@ fun AjaxOptions.toJs(emptyOption: Boolean): dynamic {
return obj {
this.ajax = obj {
this.url = url
- this.type = HTTPTYPE.type
+ this.type = httpType.type
this.dataType = dataType.type
this.data = data
this.beforeSend = beforeSend