Parent Directory
|
Revision Log
|
Revision Graph
- Patch #332333 by sun: more fixes for the path API.
| 1 | // $Id: path.js,v 1.2 2009/04/27 20:19:37 webchick Exp $ |
| 2 | |
| 3 | (function ($) { |
| 4 | |
| 5 | Drupal.behaviors.pathFieldsetSummaries = { |
| 6 | attach: function (context) { |
| 7 | $('fieldset#edit-path', context).setSummary(function (context) { |
| 8 | var path = $('#edit-path-alias').val(); |
| 9 | |
| 10 | return path ? |
| 11 | Drupal.t('Alias: @alias', { '@alias': path }) : |
| 12 | Drupal.t('No alias'); |
| 13 | }); |
| 14 | } |
| 15 | }; |
| 16 | |
| 17 | })(jQuery); |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |