Last modified: 2014-05-13 20:06:21 UTC
Created attachment 15210 [details] Screenshot Steps to reproduce: 1.Open a page with VE 2.Go to Insert>Formula 3.Without closing the Math Inspector keep on pressing tab Observed Result: An error appears in the console: Uncaught TypeError: Cannot read property 'start' of null See the screenshot attached Test Environment: https://en.wikipedia.org Browser: Chrome Version 26.0.1410.65 & FF 25 OS: MAC OS X 10. 8. 5
Pressing tab actually blurs the surface, but blurring the surface doesn't clear the focusedNode highlighting, so I'm fixing that first.
Change 129851 merged by jenkins-bot: Clear the focusedNode when the document is blurred https://gerrit.wikimedia.org/r/129851
Verified the fix on Betalabs
Verified the fix on test2
Verified the fix in production