Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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:
if (isset($display->display_options['enabled']) && !$display->display_options['enabled']) {...}
Comment | File | Size | Author |
---|---|---|---|
#1 | views_ui-theme-display-deleted-link-1742732-1.patch | 638 bytes | osopolar |
Comments
Comment #1
osopolarPatch for this fix.
Comment #2
dawehnerThis 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