Merge correction javascript
This commit is contained in:
commit
63250c48f1
@ -80,26 +80,22 @@ $(document).ready(function()
|
||||
$('#tabs').delegate('select.criteres', 'change', function(e){
|
||||
var valeur = $(this, ':selected').val();
|
||||
e.stopPropagation();
|
||||
colorLine(valeur, $(this).attr('name'));
|
||||
set($(this).attr('name'), $(this, ':selected').val());
|
||||
|
||||
});
|
||||
|
||||
$('#tabs').delegate('input[type=checkbox].criteres', 'click', function(e){
|
||||
e.stopPropagation();
|
||||
colorLine(valeur, $(this).attr('name'));
|
||||
set($(this).attr('name'), $(this).val());
|
||||
});
|
||||
|
||||
$('#tabs').delegate('input[type=radio].criteres', 'click', function(e){
|
||||
e.stopPropagation();
|
||||
colorLine(valeur, $(this).attr('name'));
|
||||
set($(this).attr('name'), $(this).val());
|
||||
});
|
||||
|
||||
$('#tabs').delegate('input[type=text].criteres', 'blur', function(e){
|
||||
e.stopPropagation();
|
||||
colorLine(valeur, $(this).attr('name'));
|
||||
set($(this).attr('name'), $(this).val());
|
||||
});
|
||||
|
||||
@ -112,7 +108,6 @@ $(document).ready(function()
|
||||
e.preventDefault();
|
||||
var key = $(this).attr('id');
|
||||
var values = $('input[name='+key+'1]').val() + ',' + $('input[name='+key+'2]').val();
|
||||
colorLine(values, 'li_'+key);
|
||||
set(key, values);
|
||||
return false;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user