addfolder

This commit is contained in:
2018-04-23 21:14:46 +02:00
parent cec9a0314b
commit a7cb972085
192 changed files with 16037 additions and 24 deletions
@@ -0,0 +1,24 @@
(function ($) {
'use strict';
Drupal.FieldGroup = Drupal.FieldGroup || {};
Drupal.FieldGroup.Effects = Drupal.FieldGroup.Effects || {};
/**
* This script adds the required and error classes to the fieldset wrapper.
*/
Drupal.behaviors.fieldGroupDFieldset = {
attach: function (context) {
$(context).find('.field-group-fieldset').once('field-group-fieldset').each(function () {
var $this = $(this);
if ($this.is('.required-fields') && ($this.find('[required]').length > 0 || $this.find('.form-required').length > 0)) {
$('legend', $this).first().addClass('form-required');
}
});
}
};
})(jQuery);