[frontend] Fix js error when executing multiple statements in embedded mode
self.$table.unwrap();
self.$table.data('isScrollAttached', null);
self.$table.removeClass('table-huedatatable');
+ if (self.$table.data('oInit')) {
self.$table.parents(self.$table.data('oInit')['scrollable']).off('scroll', self.$table.parents(self.$table.data('oInit')['scrollable']).data('scrollFnDt'));
+ }
};
return self.each(function () {
