Subversion Repositories eFlore/Applications.cel

Rev

Rev 1519 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1519 Rev 1553
Line 573... Line 573...
573
	$("#transmettre-obs").click(function(e) {
573
	$("#transmettre-obs").click(function(e) {
574
		var observations = $("#liste-obs").data();
574
		var observations = $("#liste-obs").data();
Line 575... Line 575...
575
		
575
		
576
		if (observations == undefined || jQuery.isEmptyObject(observations)) {
576
		if (observations == undefined || jQuery.isEmptyObject(observations)) {
577
			$("#dialogue-zero-obs").dialog();
-
 
578
		} else if ($("#saisie-obs").valid() == false) {
-
 
579
			$("#dialogue-form-invalide").dialog();
577
			$("#dialogue-zero-obs").dialog();
580
		} else {
578
		} else {
Line 581... Line 579...
581
			observations['projet'] = 'Sauvages';
579
			observations['projet'] = 'Sauvages';
582
			
580