Vocabulary Tab desciption is 'null'

rick_deckard - March 23, 2009 - 17:31
Project:Vertical Tabs
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

None of my tabs have descriptions and all properly get the CSS no description class, but for some reason the "Vocabulary" tab tries to find a description and fails, and outputs the word "null" as a string as the tab description.

For the time being I just commented out the line, but not sure why it's happening.

The line I commented out is in vertical_tabs.js, line 10

        description = '<span class="description">'+ Drupal.verticalTabs[v.callback].apply(this, v.args) +'</span>';

So that's just the output line. Apparently it is passing the test above

      if (v.callback && Drupal.verticalTabs[v.callback]) {

but returning null for the actual apply method.

#1

Dave Reid - November 6, 2009 - 21:02
Status:active» duplicate

I think this will be fixed with #601260: Vertical Tabs not showing summary for Vocabularies and Flags fieldsets if it's not already in the current code.

 
 

Drupal is a registered trademark of Dries Buytaert.