mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-06-09 05:55:13 +00:00
Initial commit
This commit is contained in:
commit
c5e731d8ae
2773 changed files with 600767 additions and 0 deletions
drupal7/web/modules/path
21
drupal7/web/modules/path/path.js
Normal file
21
drupal7/web/modules/path/path.js
Normal file
|
@ -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);
|
Loading…
Add table
Add a link
Reference in a new issue