aktaulni updates
This commit is contained in:
@ -100,6 +100,7 @@ $(document).ready(function () {
|
||||
window.$('#editModalArchive').modal('show');
|
||||
$('#editidarchive').val(row.id);
|
||||
$('#editnote').val(row.note);
|
||||
$('#metrics').val(JSON.stringify(row.open_orders,null,2));
|
||||
$('#editstratvars').val(JSON.stringify(row.stratvars,null,2));
|
||||
$('#editstratjson').val(row.strat_json);
|
||||
});
|
||||
@ -285,6 +286,14 @@ var archiveRecords =
|
||||
return '<div class="tdname" title="'+data+'">'+data+'</i>'
|
||||
},
|
||||
},
|
||||
{
|
||||
targets: [18],
|
||||
render: function ( data, type, row ) {
|
||||
var res = JSON.stringify(data)
|
||||
const unquoted = res.replace(/"([^"]+)":/g, '$1:')
|
||||
return '<div class="tdmetrics" title="'+unquoted+'">'+unquoted+'</i>'
|
||||
},
|
||||
},
|
||||
{
|
||||
targets: [4],
|
||||
render: function ( data, type, row ) {
|
||||
|
||||
Reference in New Issue
Block a user