mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°4481 Fix created elements on 1-n disappearing when table is redrawn
This commit is contained in:
@@ -484,9 +484,9 @@ $(function()
|
||||
this.indicator.html('<img src="../images/indicator.gif">');
|
||||
|
||||
$.post(this.options.submit_to, oParams, function(data){
|
||||
me.datatable.find('tbody').append(data);
|
||||
// From data variable we get data entry and insert the first (and only) one
|
||||
me.datatable.DataTable().row.add(data.data[0]).draw();
|
||||
$('#datatable_'+me.id+' .dataTables_empty').hide();
|
||||
//$('#linkedset_'+me.id+' .listResults tbody').append(data);
|
||||
|
||||
me._updateTable();
|
||||
me.indicator.html('');
|
||||
|
||||
Reference in New Issue
Block a user