Permalink
Browse files

Add JsCmd.Reload to force reload of current page

  • Loading branch information...
jeppenejsum committed Jan 17, 2012
1 parent dff0b6a commit e94ec64dfae21d9e61f00125dc4496bf6223436c
Showing with 8 additions and 0 deletions.
  1. +8 −0 web/webkit/src/main/scala/net/liftweb/http/js/JsCommands.scala
@@ -869,6 +869,14 @@ object JsCmds {
}
+ /**
+ * Reload the current page
+ */
+ case object Reload extends JsCmd {
+ def toJsCmd = "window.location.reload();"
+ }
+
+
/**
* Update a Select with new Options
*/

0 comments on commit e94ec64

Please sign in to comment.