Collapse fieldset in admin/content/taxonomy/[term-id]/add/term

hass - October 29, 2009 - 12:18
Project:XML sitemap
Version:6.x-1.x-dev
Component:xmlsitemap_taxonomy.module
Category:task
Priority:minor
Assigned:Unassigned
Status:fixed
Description

All fieldset are collapsed by default in admin/content/taxonomy/[term-id]/add/term except xmlsitemap. Please change this to follow other fieldset defaults.

#1

Dave Reid - October 29, 2009 - 13:31

I'll take a look. Thanks for reporting this!

#2

Dave Reid - October 29, 2009 - 19:51

It only expands a taxonomy term's XML Sitemap link fieldset if the user has overridden the default values. That seems like a pretty good default behavior to me. Can you confirm that if you set the term's inclusion and priority to default it collapses the fieldset after a save?

#3

hass - October 29, 2009 - 21:23

I'm not aware that I have ever changed anything to non-defaults... please see the attached screenshots.

AttachmentSize
xmlsitemap_add_term_xmlsitemap_not_collapsed.png 9.48 KB
xmlsitemap_settings1.png 8.16 KB

#4

Dave Reid - October 29, 2009 - 21:53

/smacks forehead. I thought you had indicated you were using the 6.x-2.x version. Sorry bout that.

#5

hass - October 29, 2009 - 23:08

If it's solved in 2.x I'm fine as it's a minor usability issue only... :-)

#6

Dave Reid - November 13, 2009 - 18:14
Status:active» fixed

Fixed in CVS. Thanks!

#7

robbin.joe - November 24, 2009 - 09:39

using 6.1.x, but still collapsed is false, so i add this line on xmlsitemap_node.module

line 111, '#collapsed' => TRUE,

 
 

Drupal is a registered trademark of Dries Buytaert.