Ignore:
Timestamp:
2009-06-18T15:09:49+12:00 (15 years ago)
Author:
ak19
Message:

Getting the preview button working again for GS3.

File:
1 edited

Legend:

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

    r19758 r19862  
    8282    // set up the home page for the current collection
    8383    if (Gatherer.GS3 && !Configuration.fedora_info.isActive()) { // GLI for GS3 case
    84         // don't do anything fancy here
    85         preview_address = Configuration.library_url.toString() + Configuration.getServletPath()
    86         + "?a=p&sa=about&c=" + collGroupWithName + "&l=" + Configuration.getLanguage();
     84        if(Configuration.library_url == null) {
     85        Gatherer.missingEXEC();
     86        } else {
     87        // don't do anything fancy here
     88        preview_address = Configuration.library_url.toString() + Configuration.getServletPath()
     89            + "?a=p&sa=about&c=" + collGroupWithName + "&l=" + Configuration.getLanguage();
     90        }
    8791        return;
    8892    }
Note: See TracChangeset for help on using the changeset viewer.