Changeset 19863 for gli/trunk


Ignore:
Timestamp:
2009-06-19T14:12:55+12:00 (15 years ago)
Author:
ak19
Message:

Minor change to previous commit to make the Preview button work properly when GLI's been launched with a GS3: after pressing the preview button causes the missingEXEC dialog to pop up when there's no library url, if there is now a library url as a result, GLI will open the browser for previewing as before.

File:
1 edited

Legend:

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

    r19862 r19863  
    8484        if(Configuration.library_url == null) {
    8585        Gatherer.missingEXEC();
    86         } else {
     86        }
     87        // if we now finally have a library URL, then continue with previewing
     88        if(Configuration.library_url != null) {
    8789        // don't do anything fancy here
    8890        preview_address = Configuration.library_url.toString() + Configuration.getServletPath()
Note: See TracChangeset for help on using the changeset viewer.