Skip to content

Commit

Permalink
Fixed a border case in Wiring vs. CometActor
Browse files Browse the repository at this point in the history
  • Loading branch information
dpp committed Feb 28, 2011
1 parent 199c040 commit 7028450
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions web/webkit/src/main/scala/net/liftweb/http/CometActor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -839,10 +839,12 @@ trait CometActor extends LiftActor with LiftCometActor with BindHelpers {

case ActionMessageSet(msgs, req) =>
S.doCometParams(req.params) {
//S.functionLifespan(true) {
reply(msgs.map(_()) ::: List(S.jsToAppend() :::
List(S.noticesToJsCmd)))
// }
S.jsToAppend() match {
case Nil =>
case js => partialUpdate(js)
}

reply(msgs.map(_()) ::: List(S.noticesToJsCmd))
}

case AskQuestion(what, who, otherlisteners) => {
Expand Down

0 comments on commit 7028450

Please sign in to comment.