Thread: [Lxr-dev] [ lxr-Bugs-3314739 ] sub dirdesc doesn't always return a value
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2011-06-10 15:17:18
|
Bugs item #3314739, was opened at 2011-06-10 17:17 Message generated for change (Tracker Item Submitted) made by ajlittoz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3314739&group_id=27350 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Browsing Group: v0.9.9 Status: Open Resolution: None Priority: 2 Private: No Submitted By: Andre-Littoz (ajlittoz) Assigned to: Andre-Littoz (ajlittoz) Summary: sub dirdesc doesn't always return a value Initial Comment: sub dirdesc in Local.pm is used to synthesize a description of a directory to display it in the listing. If it does not find a README.* file, it returns no value (i.e. = undefined). Content of the description table cell is then empty and browsers may delete the cell. Since the cell is not rendered, CSS decoration is not applied. To keep the cell (i.e. to be able to render at least a border and a background), sub dirdesc should return a "neutral" value in the no README case like a non-braking space (HTML  ). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3314739&group_id=27350 |
From: SourceForge.net <no...@so...> - 2011-06-11 07:59:29
|
Bugs item #3314739, was opened at 2011-06-10 17:17 Message generated for change (Comment added) made by ajlittoz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3314739&group_id=27350 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Browsing Group: v0.9.9 >Status: Closed >Resolution: Fixed Priority: 2 Private: No Submitted By: Andre-Littoz (ajlittoz) Assigned to: Andre-Littoz (ajlittoz) Summary: sub dirdesc doesn't always return a value Initial Comment: sub dirdesc in Local.pm is used to synthesize a description of a directory to display it in the listing. If it does not find a README.* file, it returns no value (i.e. = undefined). Content of the description table cell is then empty and browsers may delete the cell. Since the cell is not rendered, CSS decoration is not applied. To keep the cell (i.e. to be able to render at least a border and a background), sub dirdesc should return a "neutral" value in the no README case like a non-braking space (HTML  ). ---------------------------------------------------------------------- >Comment By: Andre-Littoz (ajlittoz) Date: 2011-06-11 09:59 Message: Added: return " "; as last statement in dirdesc ---------------------------------------------------------------------- Comment By: Andre-Littoz (ajlittoz) Date: 2011-06-11 09:59 Message: This has now been fixed in CVS. If you can install the new version and check that it solves your problem, then it would be very useful. Thanks for reporting this defect and helping to make LXR better. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3314739&group_id=27350 |