Created
November 8, 2014 18:48
-
-
Save fmpwizard/8545784db218db48fb1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+++ b/src/main/scala/net/liftmodules/widgets/tree/TreeView.scala | |
@@ -22,8 +22,7 @@ import _root_.scala.xml._ | |
import _root_.net.liftweb.util.Helpers._ | |
import _root_.net.liftweb.common.{Box, Full, Empty} | |
import _root_.net.liftweb.http.S._ | |
-import _root_.net.liftweb.http.LiftRules | |
-import _root_.net.liftweb.http.{LiftResponse, JsonResponse} | |
+import net.liftweb.http.{S, LiftRules, LiftResponse, JsonResponse} | |
import _root_.net.liftweb.http.js._ | |
import _root_.net.liftweb.http.js.jquery._ | |
import JsCmds._ | |
@@ -118,7 +117,7 @@ class TreeView { | |
fmapFunc(NFuncHolder(treeFunc)){key => | |
val url = encodeURL(contextPath + | |
- "/"+LiftRules.ajaxPath)+"?"+key+"=_" | |
+ "/"+LiftRules.liftPath + "/ajax/"+ S.renderVersion)+"?"+key+"=_" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment