Changeset 15361

Show
Ignore:
Timestamp:
07.05.2008 18:47:27 (11 years 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:
1 modified

Legend:

Unmodified
Added
Removed
  • 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