Annotation is collapsed even when an annotation is made
clemens.tolboom - April 5, 2008 - 06:28
| Project: | Annotate |
| Version: | 5.x-1.1 |
| Component: | annotate (private) |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
When viewing a node the design was to show the annotation when one was made for that node even if the admin setting is collapsed.
The idea is/was 'when you make a note you want to see it'
Offending line
'#collapsed' => !$node->annotation && !variable_get('annotate_show_expanded', '0'),
should be
'#collapsed' => !$node->annotation_note && !variable_get('annotate_show_expanded', '0'),
Code is changed in dev very soon.

#1
#2
#3