Fixed broken onclick event in IE8, closes #858
Merge branch '2.8' into 2.9