Subversion Repositories eFlore/Applications.cel

Rev

Rev 282 | Go to most recent revision | Show entire file | Ignore 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 390... Line 390...
390
						public void execute(EventObject e) {
390
						public void execute(EventObject e) {
391
							
391
							
392
							if(commune.getValue() != null && !commune.getValue().equals("")) {
-
 
393
								obtenirInformationCommune();
-
 
394
								longlatAjoutee = true;
392
							if(coordonneesValides() != null) {
-
 
393
								obtenirInformationCoord();
-
 
394
							} else {
-
 
395
								if(commune.getValue() != null && !commune.getValue().equals("")) {
-
 
396
									obtenirInformationCommune();
-
 
397
									longlatAjoutee = true;
395
					
398
						
-
 
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
								}
398
							}
402
							}
Line 399... Line 403...
399
						}
403
						}
Line -... Line 404...
-
 
404
					});
-
 
405
					
400
					});
406
					if(!Ext.isIE() && Window.getClientWidth() < 1200) {
401
					
407
						
402
					if(!Ext.isIE() && Window.getClientWidth() < 1200) {
408
						int largeurN = (int)largeur;
Line 403... Line 409...
403
						
409
						
404
						latitude.setWidth(largeur+"px");
410
						latitude.setWidth(largeurN+"px");
405
						longitude.setWidth(largeur+"px");
411
						longitude.setWidth(largeurN+"px");