From e888f0061cb7ca2f07b38ad4ff09da99faa75580 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 11 Apr 2009 22:19:46 +0000 Subject: #323112 by dmitrig01, kkaefer, quicksketch, frando and many many more: Now presenting... Vertical Tabs. Fantastic new UI improvement for node forms and hopefully more in the future. --- modules/path/path.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 modules/path/path.js (limited to 'modules/path/path.js') diff --git a/modules/path/path.js b/modules/path/path.js new file mode 100644 index 000000000..e801a9a26 --- /dev/null +++ b/modules/path/path.js @@ -0,0 +1,17 @@ +// $Id$ + +(function($) { + +Drupal.behaviors.pathFieldsetSummaries = { + attach: function(context) { + $('fieldset#edit-path', context).setSummary(function(context) { + var path = $('#edit-path-1').val(); + + return path ? + Drupal.t('Alias: @alias', { '@alias': path }) : + Drupal.t('No alias'); + }); + } +}; + +})(jQuery); -- cgit v1.2.3