Mercurial > hg > rr-repo
view modules/path/path.js @ 6:a75ead649730
added biblio, admin_menu and reference modules
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Fri, 20 Sep 2013 11:18:21 +0100 |
parents | ff03f76ab3fe |
children |
line wrap: on
line source
/** * @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);