Last modified: 2014-03-14 00:00:22 UTC
Created attachment 14707 [details] Screenshot Steps to reproduce: 1.Create a page with VE 2.Add a bullet list 3.Add an image as a bulleted item of that list ( 4.Save the page 5.Reopen the editor Observed Result: As soon as I open the page I get the error: "Uncaught TypeError: Cannot call method 'getOffset' of null" And then clicking on Bullet list icon again does not un-bullet the list Also, every time I switch to this page from other window/page it shows this error again and again. Test Environment: http://en.wikipedia.beta.wmflabs.org/ Browser: Chrome Version 26.0.1410.65 & FF 25 OS: MAC OS X 10. 8. 5 Page:http://en.wikipedia.beta.wmflabs.org/wiki/27thfebchrome?veaction=edit
Change 116172 had a related patch set uploaded by Esanders: Don't allow getNearestCorrectOffset to return -1 https://gerrit.wikimedia.org/r/116172
Change 116172 merged by jenkins-bot: Don't allow getNearestCorrectOffset to return -1 https://gerrit.wikimedia.org/r/116172
Verified the fix in betalabs
verified the fix in test2
Verified the fix in production:https://en.wikipedia.org/w/index.php?title=User:RYasmeen_%28WMF%29/sandbox&veaction=edit