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 running any version of jQuery higher than 1.5, the end event handler in context_ui.js
never fires successfully. The following block is skipped, and the css class changes are never performed. This causes the "Save" and "Reset" buttons to stay hidden:
// Handler for end event.
editor.bind('end.pageEditor', function(event, context) {
$(document.body).removeClass('context-editing');
$('div.contexts div.context-editable', this).hide();
$('li.context-editable').removeClass('context-editing');
$('form.context-editor').addClass('edited');
});
If we downgrade our jQuery Update to jQuery 1.5, the code works correctly.
Comments
Comment #1
ron_s CreditAttribution: ron_s commentedThe recent patches we have submitted resolve this issue. We are running jQuery 1.10 with no problems.
https://www.drupal.org/node/2734443
https://www.drupal.org/node/795058