Changeset 9781


Ignore:
Timestamp:
2005-04-29T09:35:26+12:00 (19 years ago)
Author:
kjdon
Message:

removed the hack that selects the first node if its horizontal at top - sometimes there is no hlist, and it craps out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ant-install-branch/gsdl3/src/java/org/greenstone/gsdl3/action/GS2BrowseAction.java

    r8575 r9781  
    126126        horizontal_at_top = true;
    127127    }
    128     if (top_id.equals(classifier_node) && horizontal_at_top) {
     128    // *** TODO need to fix this
     129    //if (top_id.equals(classifier_node) && horizontal_at_top) {
    129130        // we have asked for a top node - if the first list is horizontal, we will select the first element of that list
    130         // this is a hack. also it craps out if the classifier really isn't horizontalAtTop.
    131         classifier_node = classifier_node+".1";
     131        // this is a hack. also it craps out if the classifier really isn't horizontalAtTop. -
     132        //classifier_node = classifier_node+".1";
    132133           
    133     }
     134    //}
    134135
    135136    // get the browse structure for the selected node
Note: See TracChangeset for help on using the changeset viewer.