Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snippet Msgs.ShowAll should not be a session var #805

Merged
merged 1 commit into from Jul 1, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -18,12 +18,15 @@ package net.liftweb
package builtin package builtin
package snippet package snippet


import net.liftweb.http.{DispatchSnippet,LiftRules,NoticeType,S,SessionVar} import http._
import scala.xml._ import scala.xml._
import net.liftweb.util.Helpers._ import net.liftweb.util.Helpers._
import net.liftweb.http.js._ import net.liftweb.http.js._
import JsCmds._ import JsCmds._
import net.liftweb.common.{Box, Full, Empty} import net.liftweb.common.{Box, Full, Empty}
import common.Full
import xml.Text
import snippet.AjaxMessageMeta




/** /**
Expand Down Expand Up @@ -219,8 +222,8 @@ object MsgsErrorMeta extends SessionVar[Box[AjaxMessageMeta]](Empty) {
* This SessionVar records whether to show id-based messages in * This SessionVar records whether to show id-based messages in
* addition to non-id messages. * addition to non-id messages.
*/ */
object ShowAll extends SessionVar[Boolean](false) { object ShowAll extends RequestVar[Boolean](false) {
override private[liftweb] def magicSessionVar_? = true //override private[liftweb] def magicSessionVar_? = true
} }


/** /**
Expand Down