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());
18 vals.push(Drupal.t('Excluded from sitemap'));
20 return vals.join('<br />');