mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Fixes various lua memory issues
This commit is contained in:
parent
eb52f62b1e
commit
5edfdeedcd
53 changed files with 336 additions and 551 deletions
|
|
@ -847,7 +847,7 @@ const render_template = () => {
|
|||
if(field_max == undefined)
|
||||
field_max = metadata.default_value[field].field_max
|
||||
if(title == undefined)
|
||||
title = metadata.default_value[field].title
|
||||
title = metadata.default_value[field].i18n_title
|
||||
|
||||
let $select = null;
|
||||
|
||||
|
|
@ -857,7 +857,7 @@ const render_template = () => {
|
|||
$select = $(`<span class='input-group-text'>&${field_operator}</span>`).data('value', field_operator);
|
||||
}
|
||||
|
||||
const $title = `<span class='mt-auto mb-auto ms-2 me-2'>${title ? title : ""}</span>`;
|
||||
const $title = `<span class='mt-auto mb-auto ms-2 me-2'>${i18n(title) ? i18n(title) : ""}</span>`;
|
||||
|
||||
$field.append($select);
|
||||
$field.append(`<input
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue