mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°6124 - Workaround performance problem on the modification of an object with an n:n relation having a large volume
Add new bForceTableRefresh flag description
This commit is contained in:
@@ -84,6 +84,13 @@ function LinksWidget(id, sClass, sAttCode, iInputId, sSuffix, bDuplicates, oWizH
|
||||
this.UpdateButtons();
|
||||
};
|
||||
|
||||
/**
|
||||
* Remove.
|
||||
*
|
||||
* @param oRowElement tr element to remove
|
||||
* @param bForceTableRefresh be careful with this flag and performance impact @see N°6124
|
||||
* @constructor
|
||||
*/
|
||||
this.Remove = function(oRowElement, bForceTableRefresh = true){
|
||||
$('#datatable_'+me.id).DataTable().row($(oRowElement)).remove();
|
||||
var oCheckbox = $(oRowElement).find('.selection');
|
||||
|
||||
Reference in New Issue
Block a user