mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Lists: Fix JS error when dataTables widget is destroyed
This commit is contained in:
@@ -203,7 +203,7 @@ $(function () {
|
||||
// revert other modifications here
|
||||
_destroy: function() {
|
||||
this.element.removeClass('itop-datatable');
|
||||
$('#sfl_'+me.options.sListId).fieldsorter('destroy');
|
||||
$('#sfl_'+this.options.sListId).fieldsorter('destroy');
|
||||
|
||||
},
|
||||
// _setOptions is called with a hash of all options that are changing
|
||||
|
||||
Reference in New Issue
Block a user