Changeset 19863

Show
Ignore:
Timestamp:
19.06.2009 14:12:55 (10 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.

Files:
1 modified

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()