Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
26
web/core/modules/comment/comment-entity-form.es6.js
Normal file
26
web/core/modules/comment/comment-entity-form.es6.js
Normal file
|
@ -0,0 +1,26 @@
|
|||
/**
|
||||
* @file
|
||||
* Attaches comment behaviors to the entity form.
|
||||
*/
|
||||
|
||||
(function($, Drupal) {
|
||||
/**
|
||||
*
|
||||
* @type {Drupal~behavior}
|
||||
*/
|
||||
Drupal.behaviors.commentFieldsetSummaries = {
|
||||
attach(context) {
|
||||
const $context = $(context);
|
||||
$context
|
||||
.find('fieldset.comment-entity-settings-form')
|
||||
.drupalSetSummary(context =>
|
||||
Drupal.checkPlain(
|
||||
$(context)
|
||||
.find('.js-form-item-comment input:checked')
|
||||
.next('label')
|
||||
.text(),
|
||||
),
|
||||
);
|
||||
},
|
||||
};
|
||||
})(jQuery, Drupal);
|
Reference in a new issue