Subversion Repositories Sites.obs-saisons.fr

Rev

Rev 196 | Rev 210 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 196 Rev 207
Line 1... Line 1...
1
var urlBaseJrest = 'http://localhost/obs_saisons/applications/jrest/';
1
var urlBaseJrest = 'http://162.38.234.9/obs_saisons/applications/jrest/';
-
 
2
 
-
 
3
function getUrlBaseJrest() {
-
 
4
	
-
 
5
	url_page_courante = document.URL;
-
 
6
	
-
 
7
	if(url_page_courante.indexOf('http://www.') != -1) {
-
 
8
		return urlBaseJrest;
-
 
9
	} else {
-
 
10
		return urlBaseJrest.replace('http://www.','http://');
-
 
11
	}
-
 
12
}
Line 2... Line 13...
2
 
13
 
3
/** 
14
/** 
4
	************************************************************************************************
15
	************************************************************************************************
Line 28... Line 39...
28
 
39
 
29
$('.pliage').ready(function() {
40
$('.pliage').ready(function() {
30
	initialiserElementsPliables();
41
	initialiserElementsPliables();
Line 31... Line -...
31
});
-
 
32
 
-
 
33
/** 
-
 
34
************************************************************************************************
-
 
35
************************************************************************************************
-
 
36
 
-
 
37
   Fonctions pour la fiche individu
-
 
38
 
-
 
39
************************************************************************************************
-
 
40
************************************************************************************************
-
 
41
**/  
-
 
42
 
-
 
43
observations = $('.observations_individu');
-
 
44
window.alert(dump(observations));
-
 
45
observations[0].ready(function() {
-
 
46
	window.alert(dump(observations));
-
 
47
	$(this).nextAll('ul').show();
-
 
Line 48... Line 42...
48
});
42
});
49
 
43
 
50
 
44
 
Line 98... Line 92...
98
$('#form_saisie_espece').ready(function() {
92
$('#form_saisie_espece').ready(function() {
99
	agrandirZoneCLicBoutonsRadios();
93
	agrandirZoneCLicBoutonsRadios();
100
});
94
});
Line -... Line 95...
-
 
95
 
-
 
96
 
101
 
97
 
102
 
98
 
103
/** 
99
/** 
Line 104... Line 100...
104
	************************************************************************************************
100
	************************************************************************************************