- Timestamp:
- 2009-05-21T16:44:28+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/gui/PreviewButton.java
r19544 r19547 91 91 // !! Don't like this here 92 92 LocalLibraryServer.checkServerRunning(); 93 if(LocalLibraryServer.isURLPending()) { 94 // Remind the user to press Enter Library, and return from this method 95 JOptionPane.showMessageDialog(Gatherer.g_man, 96 Dictionary.get("General.LLS_Not_Started"), 97 Dictionary.get("General.LLS_Not_Started_Title"), 98 JOptionPane.ERROR_MESSAGE); 99 preview_address = null; 100 return; 101 } 93 102 94 103 // FLI or GLI for GS2 case (no library_url) … … 135 144 Gatherer.c_man.saveCollection(); 136 145 137 if(LocalLibraryServer.isURLPending()) { 138 // Remind the user to press Enter Library, and return from this method 139 JOptionPane.showMessageDialog(Gatherer.g_man, 140 Dictionary.get("General.LLS_Not_Started"), 141 Dictionary.get("General.LLS_Not_Started_Title"), 142 JOptionPane.ERROR_MESSAGE); 143 return; 144 145 } else { 146 configureHomeURL(); 147 } 146 configureHomeURL(); 148 147 149 148 if (Gatherer.GS3) { … … 152 151 Gatherer.configGS3Server(Configuration.site_name, ServletConfiguration.ADD_COMMAND + Gatherer.c_man.getLoadedCollectionName()); 153 152 } 154 Gatherer.spawnBrowser(preview_address); 153 if(preview_address != null) { 154 Gatherer.spawnBrowser(preview_address); 155 } 155 156 156 157 }
Note:
See TracChangeset
for help on using the changeset viewer.