After #2569569: Make modal display plugin use iframe Iframe and Modal display plugin classes became more alike. See comment: https://github.com/drupal-media/entity_browser/pull/111#discussion_r4387...
| Comment | File | Size | Author |
|---|---|---|---|
| #18 | 2609308_19.patch | 766 bytes | slashrsm |
| #12 | interdiff-2609308-11-12.txt | 1.13 KB | chr.fritsch |
| #12 | evaluate_if_we_can_move-2609308-12.patch | 8.89 KB | chr.fritsch |
| #11 | evaluate_if_we_can_move-2609308-11.patch | 8.27 KB | chr.fritsch |
| #5 | evaluate_if_we_can_move-2609308-5.patch | 7.97 KB | chr.fritsch |
Comments
Comment #2
primsi commentedComment #3
primsi commentedComment #4
slashrsm commentedComment #5
chr.fritschI refactored the modal display that it extends the iframe display, because the modal is in the end basically an iframe.
The attached patched is based on #2828778: Dead code in modal display
Comment #6
chr.fritschComment #11
chr.fritschRerolled
Comment #12
chr.fritschCalling DisplayBase::displayEntityBrowser directly from modal to not call iframe logic.
Comment #13
slashrsm commentedCode removals! Yay! Generally looks good. Thank you for working on this!
displayentitybrowser()will run almost identical code twice. Once in Modal and once in iFrame. This also includes REEGISTER_JS_CALLBACKS, which will be dispatched twice. We should avoid that.Comment #14
chr.fritschHave you seen my latest comment #12? It should be fixed there
Comment #15
slashrsm commentedComment #17
slashrsm commentedCommitted. Thanks!
Comment #18
slashrsm commentedThis removed description for auto_open in Modal config form. This patch adds it back.
Comment #19
slashrsm commentedCommitted.
Comment #22
slashrsm commented