Posted by osopolar on August 21, 2012 at 2:10pm
3 followers
| Project: | Views |
| Version: | 7.x-3.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Enabled and disabled tabs have both the css class views-display-deleted-link.
Because disabled class is set "if (empty($display->options['enabled']))" but disabled tabs have the option $display->display_options['enabled'] = FALSE;
The check should be:
<?php
if (isset($display->display_options['enabled']) && !$display->display_options['enabled']) {...}
?>
Comments
#1
Patch for this fix.
#2
This patch totally makes sense, thanks for that, committed to both 8.x-3.x and 7.x-3.x
Commit:
http://drupalcode.org/project/views.git/commit/80f9cf8
#3
Automatically closed -- issue fixed for 2 weeks with no activity.