From 056d597e5139b0a2bddcd342baa40cfcffdd2b11 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 8 Sep 2011 10:21:52 +0000 Subject: [PATCH] correction appel checked --- www/js/telechargement.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/www/js/telechargement.js b/www/js/telechargement.js index 538fdf681..db3a46c75 100644 --- a/www/js/telechargement.js +++ b/www/js/telechargement.js @@ -30,10 +30,8 @@ $(document).ready(function(){ attr('disabled', true); // Valeur menuD = $('select[name=telechargementjsMenu]').val(); - caseC = $('input[name=telechargementjsCase]'). - attr('checked') ? true : false; - caseC2 = $('input[name=telechargementjsCase2]'). - attr('checked') ? true : false; + caseC = $('input[name=telechargementjsCase]').prop('checked') ? true : false; + caseC2 = $('input[name=telechargementjsCase2]').prop('checked') ? true : false; type = $('input[name=page]').val(); argv = $('input[name=argv]').val(); checkFile();