Fix bug.
This commit is contained in:
parent
7616e05258
commit
d6a749995f
|
@ -88,6 +88,14 @@
|
||||||
$('#backend_fields_analysis').css( 'border','');
|
$('#backend_fields_analysis').css( 'border','');
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
$( ".sort_asc_fields, .sort_desc_fields" ).on("click", function(){
|
||||||
|
var _this = $(this);
|
||||||
|
if(_this.prop('checked')){
|
||||||
|
var other_field_class = _this.hasClass('sort_asc_fields') ? '.sort_desc_fields' : '.sort_asc_fields';
|
||||||
|
$(other_field_class).filter('[value="' + _this.attr('value') + '"]').prop('checked', false);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
$( ".table tbody td" ).each(function(i,v){
|
$( ".table tbody td" ).each(function(i,v){
|
||||||
$(v).attr("index",$(v).index());
|
$(v).attr("index",$(v).index());
|
||||||
$(v).html("<span class=\"brand ui-sortable-handle\"><i class=\"icons-list-2\"></i></span>" + $(v).html());
|
$(v).html("<span class=\"brand ui-sortable-handle\"><i class=\"icons-list-2\"></i></span>" + $(v).html());
|
||||||
|
@ -109,12 +117,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$( ".sort_asc_fields, .sort_desc_fields" ).on("click", function(){
|
|
||||||
var _this = $(this);
|
|
||||||
if(_this.prop('checked')){
|
|
||||||
var other_field_class = _this.hasClass('sort_asc_fields') ? '.sort_desc_fields' : '.sort_asc_fields';
|
|
||||||
$(other_field_class).filter('[value="' + _this.attr('value') + '"]').prop('checked', false);
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
|
@ -24,7 +24,7 @@ $( ".selectbox" ).ready(function() {
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<table class="table table-hover table-striped plugin_templates-index dt-responsive nowrap">
|
<table class="table table-hover table-striped plugin_templates-index dt-responsive nowrap">
|
||||||
<caption><h3>{{widget-title}}</h3></caption>
|
<caption style="display: none;"><h3>{{widget-title}}</h3></caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr data-level="0" data-list="headers">
|
<tr data-level="0" data-list="headers">
|
||||||
<th class="col-md-{{col}}">{{head-title}}</th>
|
<th class="col-md-{{col}}">{{head-title}}</th>
|
||||||
|
|
Loading…
Reference in New Issue