Last modified: 2014-05-30 18:33:23 UTC
Created attachment 14917 [details] screenshot Steps to reproduce: 1.Open a page with VE 2.Open the math inspector 3.Keep it open 4.Insert an image 5.Select the image 6.Click on undo 7.Click on the media settings icon that is still appearing at the right corner of the page Observed Result: The Media Settings dialog box appears with empty caption field .An error appears in the console: Uncaught TypeError: Object #<VeDmMWMathNode> has no method 'getCaptionNode' Also, you will not be able to close the Media Settings dialog box and will get stuck at this step. See the screenshot attached. 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/User:RYasmeen_%28WMF%29?veaction=edit
This seems to be because MediaEditDialog is launched for an MWMathNode, which shouldn't be possible. Assigned to Trevor as the fact that we even got here is a bug in the tools system. MediaEditDialog also shouldn't crash in this case, but Moriel is already going to merge the insertion and edit dialogs, so that should take care of that issue.
I believe that this is now fixed – please confirm.
Yes, Checked in production,appears to be fixed.