aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-remote/src
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2020-01-19 22:47:11 +0100
committerRobert Jaros <rjaros@finn.pl>2020-01-19 22:47:11 +0100
commitff4fbeda386505f5ebb0575a92fe0ef4398e4b18 (patch)
treec9eae923949f6d856eef0cbe35bfc58e87f60f83 /kvision-modules/kvision-remote/src
parent234c921842fbf5a3b20acb443ddc711a3ca2937e (diff)
downloadkvision-ff4fbeda386505f5ebb0575a92fe0ef4398e4b18.tar.gz
kvision-ff4fbeda386505f5ebb0575a92fe0ef4398e4b18.tar.bz2
kvision-ff4fbeda386505f5ebb0575a92fe0ef4398e4b18.zip
Fix external URL prefix for SelectRemote and TabulatorRemote components
Diffstat (limited to 'kvision-modules/kvision-remote/src')
-rw-r--r--kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/CallAgent.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/CallAgent.kt b/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/CallAgent.kt
index eca6dbb0..5112a49c 100644
--- a/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/CallAgent.kt
+++ b/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/CallAgent.kt
@@ -125,7 +125,7 @@ open class CallAgent {
beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null
): Promise<dynamic> {
return Promise { resolve, reject ->
- jQuery.ajax(url, obj {
+ jQuery.ajax(urlPrefix + url, obj {
this.contentType = if (contentType != "multipart/form-data") contentType else false
this.data = data
this.method = method.name