From 4c55364efdc426faae10febda49ad40164fdab7a Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 9 Feb 2018 20:01:33 +0100 Subject: Fix AJAX options. --- src/main/kotlin/pl/treksoft/kvision/form/select/AjaxOptions.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') 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 -- cgit