Browse Source

removed priv.sort from TableAjax and clean-up dbg

Piotr Labudda 7 years ago
parent
commit
191b19e67a
1 changed files with 0 additions and 12 deletions
  1. 0 12
      SE/se-lib/TableAjax.php.TableAjax.js

+ 0 - 12
SE/se-lib/TableAjax.php.TableAjax.js

@@ -1076,7 +1076,6 @@ var TableAjax = function() {
 				);
 			}
 		} else {
-			console.log('DBG', _uiNodeSelectedInfo);
 			if (_uiNodeSelectedInfo) {
 				jQuery('<a href="'+window.location.href+'&TEST_CHECKBOX=1'+'">.</a>').appendTo(_uiNodeSelectedInfo);
 			}
@@ -2649,13 +2648,6 @@ var TableAjax = function() {
 		}
 	};
 
-	priv.sort = function() {
-		if (!_data.cols[_state._currSortCol]) _state._currSortCol = "";
-		if (!_state._currSortCol) return;
-
-		publ.loadPage(0);
-	};
-
 	/*
 	 helper that returns the underlying data by the unique value
 	 */
@@ -2944,10 +2936,6 @@ var TableAjax = function() {
 		if (priv.options.debug || DBG) console.log(p5Utils__format('col:{0} clicked', [e.data.column]));
 
 		priv.options.filterStore.dispatch( priv.options.filterActions.toggleSort(e.data.column) )
-
-		// _headSort = undefined;
-		// _body = undefined;
-		// priv.sort(); // TODO: execute FETCH_DATA
 	};
 
 	priv.saveProfilePageSize = function(pageSize) {