Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 2256 Rev 2257
Line 483... Line 483...
483
	
483
	
Line 484... Line 484...
484
	$("#milieu").val(data.milieu);
484
	$("#milieu").val(data.milieu);
485
	
485
	
486
	$("#carte-recherche").val(data.zoneGeo);
-
 
487
	$("#commune-nom").text(data.zoneGeo);
-
 
Line -... Line 486...
-
 
486
	$("#carte-recherche").val(data.zoneGeo);
-
 
487
	$("#commune-nom").text(data.zoneGeo);
-
 
488
	
-
 
489
	if(data.hasOwnProperty("codeZoneGeo")) {
Line 488... Line 490...
488
	// TODO: trouver un moyen qui fonctionne lorsqu'on aura d'autres référentiels que INSEE
490
		// TODO: trouver un moyen qui fonctionne lorsqu'on aura d'autres référentiels que INSEE
489
	$("#commune-code-insee").text(data.codeZoneGeo.replace('INSEE-C:', ''));
491
		$("#commune-code-insee").text(data.codeZoneGeo.replace('INSEE-C:', ''));
490
	
492
	}
491
	
493