Commit c98bd148 authored by git's avatar git Committed by jrockowitz

Issue #3001536 by Wader, jrockowitz: Javascript error after using close button...

Issue #3001536 by Wader, jrockowitz: Javascript error after using close button of confirmation modal
parent 8c4c51e2
......@@ -30,6 +30,8 @@
resizable: false,
title: $element.find('.webform-confirmation-modal--title').text(),
close: function (event) {
Drupal.dialog(event.target).close();
Drupal.detachBehaviors(event.target, null, 'unload');
$(event.target).remove();
}
};
......
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