author | ymh <ymh.work@gmail.com> |
Thu, 16 Nov 2017 15:44:36 +0100 | |
changeset 553 | 251df6cb3afa |
parent 541 | e756a8c72c3d |
permissions | -rwxr-xr-x |
/** * @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);