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
Version: unspecified
Severity: normal
Attached: