Commit 657e32ee authored by git's avatar git Committed by slashrsm

Issue #2656062 by webflo, Denchev, JamesK, marcoscano: Make hiding of Next...

Issue #2656062 by webflo, Denchev, JamesK, marcoscano: Make hiding of Next button during Selection more robust.
parent 607254d2
......@@ -30,7 +30,7 @@
$('body').once('js-entity-embed-dialog').on('entityBrowserIFrameAppend', function () {
$('.entity-select-dialog').trigger('resize');
// Hide the next button, the click is triggered by Drupal.entityEmbedDialog.selectionCompleted.
$('.entity-select-dialog .js-button-next').hide();
$('#drupal-modal').parent().find('.js-button-next').addClass('visually-hidden');
});
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment