Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 278 Rev 447
Line 155... Line 155...
155
		valeur_form = $('#nom').val();
155
		valeur_form = $('#nom').val();
156
		valeur_form = $.trim(valeur_form);
156
		valeur_form = $.trim(valeur_form);
157
		if(formulaireAfficheValeurParDefaut()) {
157
		if(formulaireAfficheValeurParDefaut()) {
158
			if(nomSciEstDemande()) {
158
			if(nomSciEstDemande()) {
159
	    		$('#nom').val(valeurDefautNomSci);
159
	    		$('#nom').val(valeurDefautNomSci);
-
 
160
	    		$('#eflore_nomenclature_fiche').show();
160
	    	} else {
161
	    	} else {
161
	    		$('#nom').val(valeurDefautNomVerna);
162
	    		$('#nom').val(valeurDefautNomVerna);
-
 
163
	    		$('#eflore_nomenclature_fiche').hide();
162
	    	}
164
	    	}
163
			$('#nom').addClass('valeur-defaut-recherche');
165
			$('#nom').addClass('valeur-defaut-recherche');
164
		}
166
		}
165
	}
167
	}
166
}
168
}