Page MenuHomePhabricator

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:

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

Details

Reference
bz61959

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

Attached:

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

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

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

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