Subversion Repositories eFlore/Applications.cel

Rev

Rev 282 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 282 Rev 297
Line 387... Line 387...
387
					lienCarto.removeAllListeners();
387
					lienCarto.removeAllListeners();
388
					lienCarto.addListener("click", new EventCallback() {
388
					lienCarto.addListener("click", new EventCallback() {
Line 389... Line 389...
389
 
389
 
Line -... Line 390...
-
 
390
						public void execute(EventObject e) {
-
 
391
							
-
 
392
							if(coordonneesValides() != null) {
390
						public void execute(EventObject e) {
393
								obtenirInformationCoord();
391
							
394
							} else {
392
							if(commune.getValue() != null && !commune.getValue().equals("")) {
395
								if(commune.getValue() != null && !commune.getValue().equals("")) {
Line 393... Line 396...
393
								obtenirInformationCommune();
396
									obtenirInformationCommune();
394
								longlatAjoutee = true;
397
									longlatAjoutee = true;
-
 
398
						
395
					
399
								} else {
396
							} else {
400
									Window.alert("Veuillez renseigner une commune ou des coordonnées");
397
								Window.alert("Veuillez renseigner une commune à préciser");
401
								}
Line 398... Line 402...
398
							}
402
							}
Line -... Line 403...
-
 
403
						}
-
 
404
					});
399
						}
405
					
400
					});
406
					if(!Ext.isIE() && Window.getClientWidth() < 1200) {
401
					
407
						
Line 402... Line 408...
402
					if(!Ext.isIE() && Window.getClientWidth() < 1200) {
408
						int largeurN = (int)largeur;
403
						
409
						
404
						latitude.setWidth(largeur+"px");
410
						latitude.setWidth(largeurN+"px");