update filter fixed
This commit is contained in:
parent
0b318a2ca1
commit
e3db92f32f
|
@ -645,8 +645,7 @@ jQuery(document).delegate('a.edit-written-filter', 'click', function(e) {
|
|||
e.preventDefault();
|
||||
if (clausolaVisibile)
|
||||
return true;
|
||||
var didConfirm = confirm("Sei sicuro di voler editare il filtro?");
|
||||
if (didConfirm == true) {
|
||||
|
||||
var thisfilter = jQuery(this).attr('target');
|
||||
tempfiltro = condizioniFiltro[thisfilter]
|
||||
tempfiltro['target'] = thisfilter
|
||||
|
@ -669,7 +668,6 @@ jQuery(document).delegate('a.edit-written-filter', 'click', function(e) {
|
|||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
/*} else {
|
||||
|
@ -689,8 +687,9 @@ function showCategoriaGrammaticale(valoriFiltro = {}, filtroTarget = '') {
|
|||
size = jQuery('#condizioni >div').length + 1,
|
||||
element = null,
|
||||
element = content.clone();
|
||||
//alert("Value: " + $("#types").val());
|
||||
|
||||
$(":radio").prop("checked", false);
|
||||
$(":checkbox").prop("checked", false);
|
||||
|
||||
element.attr('id', 'cg-' + size);
|
||||
element.find('.remove-filter').attr('target', 'cg-' + size);
|
||||
|
|
Loading…
Reference in New Issue