Posted by Attila on March 2, 2011 at 9:19pm
2 followers
| Project: | Views Display Tabs |
| Version: | 6.x-1.0-beta6 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
I'm getting the following .js error when displaying a non-ajax view with display tabs:
Error: Drupal.settings.views is undefined
Sourcefile: http://sitename.com/sites/all/modules/viewsdisplaytabs/viewsdisplaytabs....
Line: 27
Using Views Display Tabs 6.x-1.0-beta6 along with Views Or 6.x-1.x-dev and Views 6.x-2.12.
Has anyone got an idea what's this about?
Comments
#1
Ran into this issue as well. Looks like Drupal.settings.views doesn't exist unless the view is AJAX enabled.
Attaching a patch that adds a couple of sanity checks.