Changeset 778


Ignore:
Timestamp:
1999-11-09T15:28:47+13:00 (24 years ago)
Author:
sjboddie
Message:

fixed minor bug in expanded contents

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/browsetools.cpp

    r748 r778  
    2929/*
    3030   $Log$
     31   Revision 1.34  1999/11/09 02:28:47  sjboddie
     32   fixed minor bug in expanded contents
     33
    3134   Revision 1.33  1999/10/30 22:22:26  sjboddie
    3235   added collection argument to browserclass output_section_group
     
    372375  // HLists are displayed as VLists when contents are expanded,
    373376  // Paged documents are displayed as HLists
    374   if (classifytype == "HList") classifytype = "VList";
     377  if (classifytype == "HList") {
     378    classifytype = "VList";
     379    text_t pOID = get_parent (OID);
     380    if (!pOID.empty()) {
     381      OID = pOID;
     382      // this is assuming that top levels are always 'Invisible' !!!
     383      if (is_top (OID)) classifytype = "Invisible";
     384    }
     385  }
    375386  if (classifytype == "Paged") classifytype = "HList";
    376387
Note: See TracChangeset for help on using the changeset viewer.