Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 2325 Rev 2332
Line 428... Line 428...
428
				   });
428
				   });
429
				}
429
				}
Line 430... Line 430...
430
				
430
				
431
				if (obs.nom_sci_retenu == '') {
431
				if (obs.nom_sci_retenu == '') {
432
					jQuery.ajax({
432
					jQuery.ajax({
433
						url:	'/service:eflore:0.1/' + obs.referentiel + '/noms?'
433
						url:	SERVICE_EFLORE_URL + obs.referentiel + '/noms?'
434
								 + 'masque.nn=' + obs.nn_select
434
								 + 'masque.nn=' + obs.nn_select
435
								 + '&retour.champs=num_taxonomique',
435
								 + '&retour.champs=num_taxonomique',
436
						success: function(data) {
436
						success: function(data) {
437
							var cle = '',
437
							var cle = '',
Line 442... Line 442...
442
								}
442
								}
443
								compteur++;
443
								compteur++;
444
							}
444
							}
445
							obs.num_taxon = data['resultat'][cle]['num_taxonomique'];
445
							obs.num_taxon = data['resultat'][cle]['num_taxonomique'];
446
							jQuery.ajax({
446
							jQuery.ajax({
447
								url: 	'/service:eflore:0.1/' + obs.referentiel + '/noms?'
447
								url: 	SERVICE_EFLORE_URL + obs.referentiel + '/noms?'
448
										 + 'masque.nt=' + obs.num_taxon
448
										 + 'masque.nt=' + obs.num_taxon
449
										 + '&retour.champs=famille'
449
										 + '&retour.champs=famille'
450
										 + '&retour.tri=retenu',
450
										 + '&retour.tri=retenu',
451
								type : 'GET',
451
								type : 'GET',
452
								dataType : 'jsonp',
452
								dataType : 'jsonp',