3 * Attaches simple_sitemap behaviors to the entity form.
9 Drupal.behaviors.simple_sitemapFieldsetSummaries = {
10 attach: function(context) {
11 $(context).find('#edit-simple-sitemap').drupalSetSummary(function(context) {
13 if ($(context).find('#edit-simple-sitemap-index-content-1').is(':checked')) {
14 vals.push(Drupal.t('Included in sitemap'));
15 vals.push(Drupal.t('Priority') + ': ' + $('#edit-simple-sitemap-priority option:selected', context).text());
16 vals.push(Drupal.t('Change frequency') + ': ' + $('#edit-simple-sitemap-changefreq option:selected', context).text());
17 vals.push(Drupal.t('Include images') + ': ' + $('#edit-simple-sitemap-include-images option:selected', context).text());
20 vals.push(Drupal.t('Excluded from sitemap'));
22 return vals.join('<br />');