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
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

clemens.tolboom - April 5, 2008 - 06:32
Status:active» fixed

#2

clemens.tolboom - April 5, 2008 - 06:34
Version:5.x-1.0» 5.x-1.x-dev

#3

clemens.tolboom - April 5, 2008 - 07:46
Version:5.x-1.x-dev» 5.x-1.1
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.