Page MenuHomePhabricator

VisualEditor: Clear the previous search term while opening the "Use an existing reference" and "Insert Media" dialog again
Closed, ResolvedPublic


Use Existing reference dialog box

Steps to reproduce:

1.Open a page with VE
2.Go to Insert>Reference >Use an existing reference
3.Type a search term in the search box
4.Select a reference from the search result.
5.Now again attempt to add another existing reference

Observed Result:
When the page of existing references opens up it still keeps the search term from previous attempt and shows the search results , it should rather clear the previous search term and let user to start over.
This issue also occurs for new media adding dialog

See the screenshots attached.

Test Environment:
Browser: Chrome Version 26.0.1410.65 & FF 25
OS: MAC OS X 10. 8. 5

Version: unspecified
Severity: minor




Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 2:58 AM
bzimport set Reference to bz61959.
Ryasmeen created this task.Feb 26 2014, 8:42 PM

Created attachment 14690
New Media Add dialog


Change 120566 had a related patch set uploaded by Jforrester:
Blank the reference and media search queries when closing dialogs

Change 120566 merged by jenkins-bot:
Blank the reference and media search queries when closing dialogs