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.
When you edit a context and select a condition plugin it opens an edit form on the right side.
If you click anywhere on the page, it closes the edit form and you have to reopen it by clicking on the condition plugin on the left side. This only happens in IE7 & IE8.
Comment | File | Size | Author |
---|---|---|---|
#2 | context_ui-ie_form_clearing-2085669-2.patch | 468 bytes | tekante |
#1 | context_ui-2085669.patch | 762 bytes | barthje |
Comments
Comment #1
barthje CreditAttribution: barthje commentedThe problem lies in this function in context_ui.js:
It's being fired when this happens:
$('.context-plugin-selector select', this.form).val(0);
I don't think the change event should do anything if the value is 0. My proposed solution is the following:
A patch is included.
Comment #2
tekante CreditAttribution: tekante commentedI'm not able to replicate the described behavior but can you see if the following patch works (it just leverages where the value was already being fetched to and wraps the not zero check around the addPlugin call.
Comment #3
barthje CreditAttribution: barthje commentedI'll test it out tomorrow and will let you know the results!
Comment #4
hass CreditAttribution: hass commentedSince IE7 and IE8 is EOL we do not fix issues any longer for dead browsers. Closing.
Comment #5
barthje CreditAttribution: barthje commentedSorry for the delay, the results were good!