Parent Directory
|
Revision Log
|
Revision Graph
#444402 follow-up by kkaefer: Fix autocomplete, enforce code style for anonymous JS functions.
| 1 | // $Id: upload.js,v 1.2 2009/04/12 03:52:22 webchick Exp $ |
| 2 | |
| 3 | (function ($) { |
| 4 | |
| 5 | Drupal.behaviors.uploadFieldsetSummaries = { |
| 6 | attach: function (context) { |
| 7 | $('fieldset#edit-attachments', context).setSummary(function (context) { |
| 8 | var size = $('#upload-attachments tbody tr').size(); |
| 9 | return Drupal.formatPlural(size, '1 attachment', '@count attachments'); |
| 10 | }); |
| 11 | } |
| 12 | }; |
| 13 | |
| 14 | })(jQuery); |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |