Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
There are two button in the Selection step (Next button form EED and Select from EB). This is very confusing for the user, because a click on the Next button continues with an empty selection.
Proposed resolution
Hide the button von EED because EB controls the selection and propagates the selection to EE.
Before
After
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#11 | hide_next_button_during-2656062-11.patch | 607 bytes | thenchev |
| |||
#8 | 2656062-8.patch | 636 bytes | webflo |
| |||
#2 | 2656062-1.patch | 561 bytes | webflo |
| |||
#2 | after.jpg | 60.82 KB | webflo |
#2 | before.jpg | 62.23 KB | webflo |
Comments
Comment #2
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedComment #3
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedComment #4
slashrsm CreditAttribution: slashrsm at MD Systems GmbH commentedLooks good to me.
Comment #5
slashrsm CreditAttribution: slashrsm at MD Systems GmbH commentedCommitted.
Comment #8
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedI discovered that the form class changes sometimes, haven't figured out way. I follow-up on it soon. Here is an intermediate patch.
Comment #9
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedIts a race condition between the dialog api and the event we rely on. The dialog has not entity-select-dialog class at this point. It works fine if a add a timeout or use the other class which is generated via Drupal
Comment #10
JamesK CreditAttribution: JamesK at Advisor Websites commentedWhy not just use
$('#drupal-modal').parent().find('.js-button-next')
?There can only be one modal open at a time, so the #drupal-modal selector is unique.
Comment #11
thenchev CreditAttribution: thenchev at MD Systems GmbH for Acquia commented@JamesK thanks, this works for me.
Comment #12
marcoscanoPatch in #11 works for me as expected.
+1 for RTBC
Comment #13
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedLooks good
Comment #14
slashrsm CreditAttribution: slashrsm at MD Systems GmbH for Acquia commentedCommitted. Thanks!