Problem/Motivation
The current implementation explicitly looks for the entity browser dialog trigger to be of type <input />. This makes the entity browser not usable e.g. when a theme relys on <button /> elements to be used for all buttons.
Proposed resolution
- Look for
<button />elements, too - use:inputinstead ifinputin jQuery selectors
Remaining tasks
Provide a patch to fix the issue
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | also_allow_button-2826226-3.patch | 1.65 KB | hctom |
Comments
Comment #2
hctomAttached you can find the patch that should solve the issue.
Comment #5
hctomWoops, somehow the patch was empty in the last attempt. So here is the correct patch file.
Comment #6
sanja_m commentedPatch seems OK.
Comment #7
rajab natshah+1 Much better.
Comment #8
slashrsm commentedCommitted. Thanks!