diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-02-09 20:01:33 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-02-09 20:01:33 +0100 |
commit | 4c55364efdc426faae10febda49ad40164fdab7a (patch) | |
tree | c4d995ed0fafd8828df960b465bc70c8147092be /src/main/kotlin/pl/treksoft | |
parent | cc116ae15a1e6656da9b337960aa6938922bd661 (diff) | |
download | kvision-4c55364efdc426faae10febda49ad40164fdab7a.tar.gz kvision-4c55364efdc426faae10febda49ad40164fdab7a.tar.bz2 kvision-4c55364efdc426faae10febda49ad40164fdab7a.zip |
Fix AJAX options.
Diffstat (limited to 'src/main/kotlin/pl/treksoft')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/select/AjaxOptions.kt | 2 |
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 |