Skip to content
This repository
Browse code

Merge branch 'master' of github.com:lift/framework

  • Loading branch information...
commit 102499ee1b75656cef212ff3684aa55cae369cc2 2 parents d644392 + 6869755
Indrajit Raychaudhuri indrajitr authored
2  web/webkit/src/main/scala/net/liftweb/builtin/snippet/A.scala
@@ -34,7 +34,7 @@ object A extends DispatchSnippet {
34 34 private def addAjaxHREF(): MetaData = {
35 35 val ajax: JsExp = SHtml.makeAjaxCall(JE.Str(S.attr.~("key").map(_.text + "=true").getOrElse("")))
36 36
37   - new UnprefixedAttribute("onclick", Text(ajax.toJsCmd),
  37 + new UnprefixedAttribute("onclick", Text(ajax.toJsCmd + "; return false;"),
38 38 new UnprefixedAttribute("href", Text("javascript://"),
39 39 S.currentAttrsToMetaData(name => name != "onclick" && name != "href" && name != "key")
40 40 ))

0 comments on commit 102499e

Please sign in to comment.
Something went wrong with that request. Please try again.