Closed rfrenchseti closed 4 years ago
As part of this, the Select Metadata dialog needs to be put on hold while we are waiting for an updated menu because of a new search. Right now you can see the old menu, start mucking with it, then the new menu arrives in the middle of your work and changes everything out from under you. There should just be a blank dialog and a "loading" icon while we're waiting for the new menu to come back.
selectMetadata.js has a
render
function that does things like create the perfect scrollbars and attached the show and hide event handlers. But therender
function is called more than once, resulting in multiple scrollbars in memory and (previous) duplicate event handlers. The event handler problem was "fixed" in a recent pull by removing the old handlers first, but that's not a clean fix. The whole code needs to be reorganized and cleaned up.