greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 15361

Show
Ignore:
Timestamp:
2008-05-07 18:47:27 (3 months ago)
Author:
ak19
Message:

Preview button when clicked now uses the correct url to loads the fedora search page when FLI runs over Greenstone 3

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gli/trunk/src/org/greenstone/gatherer/gui/PreviewButton.java

    r14046 r15361  
    7575    protected void configureHomeURL() { 
    7676        // set up the home page for the current collection 
    77         if (Gatherer.GS3) { 
     77        if (Gatherer.GS3 && !Configuration.fedora_info.isActive()) { // GLI for GS3 case 
    7878            // don't do anything fancy here 
    7979            preview_address = Configuration.library_url.toString() + Configuration.getServletPath() + "?a=p&sa=about&c=" + CollectionManager.getLoadedCollectionName() + "&l=" + Configuration.getLanguage(); 
    8080            return; 
    8181        } 
     82        // FLI or GLI for GS2 case (no library_url) 
    8283        preview_address = Configuration.library_url.toString() + "?c=" + CollectionManager.getLoadedCollectionName() + "&l=" + Configuration.getLanguage(); 
    8384