Newer
Older
Alex Pott
committed
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
catch
committed
* https://www.drupal.org/node/2815083
Alex Pott
committed
* @preserve
**/
(function ($, Drupal) {
Drupal.behaviors.commentFieldsetSummaries = {
Alex Pott
committed
attach: function attach(context) {
var $context = $(context);
$context.find('fieldset.comment-entity-settings-form').drupalSetSummary(function (context) {
Alex Pott
committed
return Drupal.checkPlain($(context).find('.js-form-item-comment input:checked').next('label').text());
});
}
};
Alex Pott
committed
})(jQuery, Drupal);