mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-30 01:37:17 +00:00
fix: [UI show item min] fix empty modal
This commit is contained in:
parent
2b735e3b97
commit
9394ed7d43
1 changed files with 3 additions and 1 deletions
|
@ -172,13 +172,15 @@ $(document).ready(function(){
|
||||||
$("#navbar-tags").addClass("active");
|
$("#navbar-tags").addClass("active");
|
||||||
$("#nav_tags_search").removeClass("text-muted");
|
$("#nav_tags_search").removeClass("text-muted");
|
||||||
$("#nav_tags_search_{{dict_tagged['object_type']}}").addClass("active");
|
$("#nav_tags_search_{{dict_tagged['object_type']}}").addClass("active");
|
||||||
$('#myTable_').DataTable({ "lengthMenu": [ 5, 10, 25, 50, 100 ], "pageLength": 10, "order": [[ 0, "asc" ]] });
|
|
||||||
|
|
||||||
{%if dict_tagged["object_type"]=="item"%}
|
{%if dict_tagged["object_type"]=="item"%}
|
||||||
$("[data-toggle='modal']").off('click.openmodal').on("click.openmodal", function (event) {
|
$("[data-toggle='modal']").off('click.openmodal').on("click.openmodal", function (event) {
|
||||||
get_html_and_update_modal(event, $(this));
|
get_html_and_update_modal(event, $(this));
|
||||||
});
|
});
|
||||||
{%endif%}
|
{%endif%}
|
||||||
|
|
||||||
|
$('#myTable_').DataTable({ "lengthMenu": [ 5, 10, 25, 50, 100 ], "pageLength": 10, "order": [[ 0, "asc" ]] });
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue