Subversion Repositories Applications.reseau

Rev

Rev 10 | Rev 104 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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