Page MenuHomePhabricator

VisualEditor: The "Insert reference" button remains enabled in the reference dialog even if it is empty
Closed, ResolvedPublic

Description

Screenshot

Steps to reproduce:

1.Open a page with VE
2.Go to Insert>Reference
3.Click on "Apply Changes" without inserting any content for the reference

Observed Result:
The empty reference gets added in the page and after saving it shows the error message:Cite error: Invalid <ref> tag; refs with no content must have a name; see the help page ().

Expected Result:

The "Apply Changes" button should remain disabled unless user enters any content for the reference

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
http://en.wikipedia.beta.wmflabs.org/wiki/7thmarchrome


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2014-03-07_at_11.17.08_AM.png (445×1 px, 89 KB)

Details

Reference
bz62399

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:52 AM
bzimport set Reference to bz62399.
  • This bug has been marked as a duplicate of bug 52182 ***