erreur
This commit is contained in:
parent
0eab5291e9
commit
f0285eb499
@ -110,7 +110,13 @@ $(document).ready(function()
|
||||
$('#tabs').delegate('a.interval', 'click', function(e){
|
||||
e.preventDefault();
|
||||
var key = $(this).attr('id');
|
||||
var values = $('input[name='+key+'1]').val() + ',' + $('input[name='+key+'2]').val();
|
||||
var val1 = $('input[name='+key+'1]').val();
|
||||
var val2 = $('input[name='+key+'2]').val();
|
||||
if(!val1)
|
||||
val1 = 0;
|
||||
if(!val2)
|
||||
val2 = 0;
|
||||
var values = val1 + ',' + val2;
|
||||
set(key, values);
|
||||
return false;
|
||||
});
|
||||
@ -194,7 +200,7 @@ $(document).ready(function()
|
||||
if($(this).is(':checked')) {
|
||||
set($(this).attr('name'), 1);
|
||||
} else {
|
||||
set($(this).attr('name'), 0)
|
||||
set($(this).attr('name'), 0);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user