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

Description

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: https://test2.wikipedia.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/24thfebchrome?veaction=edit


Version: unspecified
Severity: minor

Attached:

bzimport set Reference to bz61959.
Ryasmeen created this task.Via LegacyFeb 26 2014, 8:42 PM
Ryasmeen added a comment.Via ConduitFeb 26 2014, 8:42 PM

Created attachment 14690
New Media Add dialog

Attached:

gerritbot added a comment.Via ConduitMar 24 2014, 5:41 PM

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

https://gerrit.wikimedia.org/r/120566

gerritbot added a comment.Via ConduitMar 26 2014, 9:49 PM

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

https://gerrit.wikimedia.org/r/120566

Add Comment