Permalink
Browse files

Add JsCmd.Reload to force reload of current page

  • Loading branch information...
jeppenejsum authored and dpp committed Jan 17, 2012
1 parent abf53b2 commit d8dede31dc9f8cdf2a512e3343bf36320958a1a6
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 d8dede3

Please sign in to comment.