comment-entity-form.js 534 B

1234567891011121314151617
  1. /**
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/2815083
  5. * @preserve
  6. **/
  7. (function ($, Drupal) {
  8. Drupal.behaviors.commentFieldsetSummaries = {
  9. attach: function attach(context) {
  10. var $context = $(context);
  11. $context.find('fieldset.comment-entity-settings-form').drupalSetSummary(function (context) {
  12. return Drupal.checkPlain($(context).find('.js-form-item-comment input:checked').next('label').text());
  13. });
  14. }
  15. };
  16. })(jQuery, Drupal);