Changeset 17628

Show
Ignore:
Timestamp:
29.10.2008 19:18:04 (11 years ago)
Author:
ak19
Message:

Minor change to stop the GLIApplet from closing the browser

Files:
1 modified

Legend:

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

    r17612 r17628  
    479479        // !! Something went wrong downloading the collection configurations 
    480480        System.err.println("Error: Could not download collection configurations."); 
    481         System.exit(0); 
    482         } 
    483     } 
    484  
     481        if(!Gatherer.isApplet) { // don't close the browser if it is an applet! 
     482            System.exit(0); 
     483        } 
     484        } 
     485    } 
    485486    } 
    486487