Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1967 Rev 2073
Line 1341... Line 1341...
1341
		commune.setValue(nCommune);
1341
		commune.setValue(nCommune);
1342
		communeModifiee = true;
1342
		communeModifiee = true;
1343
	}
1343
	}
Line 1344... Line 1344...
1344
 
1344
 
1345
	private void rafraichirCommuneEtCoord(EntiteGeographiqueObservation infosCom) {
-
 
1346
		// on ne remplace la commune que si le champ était vide
-
 
1347
		if(commune.getRawValue() == null || commune.getRawValue().equals("")) {
-
 
1348
			rafraichirCommune(infosCom);
-
 
1349
		}
1345
	private void rafraichirCommuneEtCoord(EntiteGeographiqueObservation infosCom) {
-
 
1346
		
1350
 
1347
		rafraichirCommune(infosCom);
1351
		if(infosCom.getLat() != null && !infosCom.getLat().equals("")) {
1348
		if(infosCom.getLat() != null && !infosCom.getLat().equals("")) {
1352
			latitude.setValue(infosCom.getLat());
1349
			latitude.setValue(infosCom.getLat());
Line 1353... Line 1350...
1353
		}
1350
		}