Workaround for webkit bug in gui.js
A user on the MoM project reported an odd problem with Chrome, which is also the case with Safari: when adding a one-to-many <select>
element to add a new one-to-many link in a field, the newly-added <select>
element does not appear. It seems to be hidden by default. This seems to be an outright bug in webkit, but pretty obscure, so I figured out a workaround: if I add the <br/>
element that follows the <select>
and its <button>
OUTSIDE their containing span rather than INSIDE it, the appropriate refresh/update seems to take place and the <select>
and its delete button appear. Can't see any bad side-effects from this, so I've migrated the change to the live and dev sites, as well as the two Properties and Kings sites, and the Siberian site.