uc_credit.admin.js 410 B

123456789101112131415161718
  1. /**
  2. * @file
  3. * Utility functions to display settings summaries on vertical tabs.
  4. */
  5. (function ($) {
  6. Drupal.behaviors.creditAdminFieldsetSummaries = {
  7. attach: function (context) {
  8. $('fieldset#edit-cc-security', context).drupalSetSummary(function(context) {
  9. return Drupal.t('Encryption key path') + ': '
  10. + $('#edit-uc-credit-encryption-path', context).val();
  11. });
  12. }
  13. };
  14. })(jQuery);