Subversion Repositories Applications.reseau

Rev

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

Rev 103 Rev 104
Line 2... Line 2...
2
	// Bouton "fermer la fenêtre" car on est (normalement) dans un popup
2
	// Bouton "fermer la fenêtre" car on est (normalement) dans un popup
3
	$('button.fermer').click(function() {
3
	$('button.fermer').click(function() {
4
		window.close();
4
		window.close();
5
	});
5
	});
Line 6... Line 6...
6
 
6
 
7
	// Préremplissage du champ "système" (pour obtenir le navigateur, c'est trop pas fiable)
7
	// Préremplissage du champ "navigateur"
8
	$('input[name="systeme"]').val(
-
 
9
		window.navigator.appCodeName
8
	$('input[name="navigateur"]').val(
10
		+ ' ' + window.navigator.appVersion
-
 
11
		+ ' ' + window.navigator.platform
-
 
12
		+ ' - UA : ' + window.navigator.userAgent
9
		window.navigator.appCodeName + ' ' + window.navigator.appVersion
-
 
10
	);
-
 
11
 
-
 
12
	// Préremplissage du champ "système"
13
	);
13
	$('input[name="systeme"]').val(window.navigator.platform);
14
});
14
});