The following code:
".link" #> SHtml.a(() => Alert("hi"), Text("Click me))
Generates code without "return false;" as the last statement in the onclick-handler:
In my application i have a window.onbeforeunload handler which the above code triggers in IE due to the missing "return false;".
This example-code triggers the issue in IE:
After clicking the "bad"-link In IE, the above code will show a second alert showing "Fooka fooka" after showing "onbeforeunload WILL trigger".
(In [[r:6869755aaa30c89eb27077cc92e53af68c5e7b4e]]) Closes #1150
Imported from Assembla: http://www.assembla.com/spaces/liftweb/tickets/1150