From 09701eea491c65282f2378f7f991357fbd0ddee5 Mon Sep 17 00:00:00 2001 From: erysavy Date: Thu, 12 Jan 2017 15:31:16 +0100 Subject: [PATCH] fixed path for autocomplete callback (#25) --- .../net/liftmodules/widgets/autocomplete/AutoComplete.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/net/liftmodules/widgets/autocomplete/AutoComplete.scala b/src/main/scala/net/liftmodules/widgets/autocomplete/AutoComplete.scala index 60ad0c2..b7043ab 100644 --- a/src/main/scala/net/liftmodules/widgets/autocomplete/AutoComplete.scala +++ b/src/main/scala/net/liftmodules/widgets/autocomplete/AutoComplete.scala @@ -178,7 +178,7 @@ class AutoComplete { fmapFunc(SFuncHolder(f)){ func => - val what: String = encodeURL(S.contextPath + "/" + LiftRules.liftPath + "/ajax/"+ S.renderVersion+"?"+func+"=foo") + val what: String = encodeURL(LiftRules.liftPath + "/ajax/" + S.renderVersion + "?" + func + "=foo") val id = Helpers.nextFuncName fmapFunc(SFuncHolder(onSubmit)){hidden =>