Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.0-rc1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Aug 2011 at 01:35 UTC
Updated:
21 Sep 2011 at 19:11 UTC
Currently, if an argument on a panel pane is empty, it still takes priority over the pane_description text
For example, I have a view pane with description:
Headline, 403x250 image, teaser and 2 related links
And an argument for taxonomy term id, exposed and set via pane config.
However, if the panel pane config form is saved, the admin pane text becomes:
Category:
The pane description is gone and an empty "argument name: no value" text shown instead.
The attached patch fixes the issue with a simple if(!empty($value)){} check
cheers,
DT
P.S Thanks for the awesome module work, excellent stuff.
| Comment | File | Size | Author |
|---|---|---|---|
| views_panes.inc_.hide-empty-argument-value-in-admin-desc.patch | 724 bytes | davidwhthomas |
Comments
Comment #0.0
davidwhthomas commentedFormatting fix
Comment #1
merlinofchaos commentedCommitted! Thanks for the patch!
Comment #2.0
(not verified) commentedSimplify