Page MenuHomePhabricator

Search fails when used more than once
Closed, ResolvedPublic

Description

Opening the search dialog works, and closing it too. But re-opening it shows a static non-bound version. This is due to PhotoCommons.init being called and the old input#wp-photocommons-search still being on the page, this #wp-photocommons-search').suggestions() fails when re-initting it on second call.

Fix:

  • Load the search dialog before the icon is clicked and re-use the same one

Version: unspecified
Severity: major

Details

Reference
bz27817