diff -r 07239de796bb -r e756a8c72c3d cms/drupal/modules/path/path.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cms/drupal/modules/path/path.js Fri Sep 08 12:04:06 2017 +0200 @@ -0,0 +1,21 @@ + +/** + * @file + * Attaches behaviors for the Path module. + */ + +(function ($) { + +Drupal.behaviors.pathFieldsetSummaries = { + attach: function (context) { + $('fieldset.path-form', context).drupalSetSummary(function (context) { + var path = $('.form-item-path-alias input').val(); + + return path ? + Drupal.t('Alias: @alias', { '@alias': path }) : + Drupal.t('No alias'); + }); + } +}; + +})(jQuery);