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