Permalink
Browse files

Merge pull request #805 from lift/diego_issue_805

snippet Msgs.ShowAll should not be a session var
  • Loading branch information...
2 parents 0794de4 + 0a98248 commit cde876c90631dcd07e63d6a94f84ce8888889933 David Pollak committed Jul 1, 2012
Showing with 6 additions and 3 deletions.
  1. +6 −3 web/webkit/src/main/scala/net/liftweb/builtin/snippet/Msgs.scala
@@ -18,12 +18,15 @@ package net.liftweb
package builtin
package snippet
-import net.liftweb.http.{DispatchSnippet,LiftRules,NoticeType,S,SessionVar}
+import http._
import scala.xml._
import net.liftweb.util.Helpers._
import net.liftweb.http.js._
import JsCmds._
import net.liftweb.common.{Box, Full, Empty}
+import common.Full
+import xml.Text
+import snippet.AjaxMessageMeta
/**
@@ -219,8 +222,8 @@ object MsgsErrorMeta extends SessionVar[Box[AjaxMessageMeta]](Empty) {
* This SessionVar records whether to show id-based messages in
* addition to non-id messages.
*/
-object ShowAll extends SessionVar[Boolean](false) {
- override private[liftweb] def magicSessionVar_? = true
+object ShowAll extends RequestVar[Boolean](false) {
+ //override private[liftweb] def magicSessionVar_? = true
}
/**

0 comments on commit cde876c

Please sign in to comment.