Browse Source

HUE-6675 [editor] Sorting result by column adds persistent yellow background

Enrico Berti 8 years ago
parent
commit
43cc54498e

+ 0 - 1
desktop/core/src/desktop/static/desktop/js/jquery.huedatatable.js

@@ -528,7 +528,6 @@
       self.$table.unbind('sort');
       self.$table.unbind('sort');
       self.$table.bind('sort', function (e, obj) {
       self.$table.bind('sort', function (e, obj) {
         self.$table.find('thead tr th:not(:eq(' + obj.originalIndex + '))').removeClass('sorting_desc').removeClass('sorting_asc');
         self.$table.find('thead tr th:not(:eq(' + obj.originalIndex + '))').removeClass('sorting_desc').removeClass('sorting_asc');
-        self.$table.data('scrollToCol', obj.originalIndex);
         self.$table.data('scrollAnimate', true);
         self.$table.data('scrollAnimate', true);
         self.$table.data('scrollAnimateDirect', true);
         self.$table.data('scrollAnimateDirect', true);
         var $cell = self.$table.find('thead tr th:eq(' + obj.originalIndex + ')');
         var $cell = self.$table.find('thead tr th:eq(' + obj.originalIndex + ')');