- Timestamp:
- Feb 28, 2011, 7:42:20 PM (13 years ago)
- Location:
- extensions/jiwigo/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/jiwigo/trunk
- Property svn:ignore
-
old new 1 1 bin 2 2 target 3 temp.xml
-
- Property svn:ignore
-
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/ConnexionDialog.java
r9393 r9431 260 260 JOptionPane.ERROR_MESSAGE); 261 261 } else { 262 if (!Main.sessionManager.processLogin()) { 262 int response = Main.sessionManager.processLogin(); 263 if (response == 0) { 264 Main.showFrame(); 265 //hides the dialog 266 this.dispose(); 267 } else if (response == 1) { 263 268 //if the login fails, an error is displayed 264 269 if (!Main.sessionManager.isProxyError()) { … … 266 271 Messages.getMessage("error"), JOptionPane.ERROR_MESSAGE); 267 272 } 268 } else { 269 // Locale.setDefault((Locale) comboLocales.getSelectedItem()); 270 Main.showFrame(); 271 //hides the dialog 272 this.dispose(); 273 } else if (response == 2) { 274 JOptionPane.showMessageDialog(null, Messages.getMessage("connexionDialog_proxyAuthError"), Messages 275 .getMessage("error"), JOptionPane.ERROR_MESSAGE); 273 276 } 274 277 }
Note: See TracChangeset
for help on using the changeset viewer.