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


Screen_Shot_2014-02-26_at_12.40.19_PM.png (652×1 px, 125 KB)



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:58 AM
bzimport set Reference to bz61959.

Created attachment 14690
New Media Add dialog


Screen_Shot_2014-02-26_at_12.40.30_PM.png (619×1 px, 123 KB)

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