From d5353f6cfee00eabfed3787275f3a83b21cbc61a Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Mon, 2 Apr 2012 12:23:59 -0400 Subject: [PATCH] remove some cruft Signed-off-by: Jason Etheridge Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander --- .../xul/staff_client/chrome/content/util/list.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/util/list.js b/Open-ILS/xul/staff_client/chrome/content/util/list.js index b366579318..b35c2891fa 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/list.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/list.js @@ -201,20 +201,11 @@ util.list.prototype = { treecol.addEventListener( 'click', function(ev) { - dump('click\n'); if (ev.button == 2 /* context menu click */ || ev.target.getAttribute('no_sort')) { return; } - if (document.popupNode - && document.popupNode.nodeName == 'treecol' - && document.popupNode.hasAttribute('locked') - ) { - return; - } - dump('click2\n'); if (ev.ctrlKey) { // sub sort - dump('click3\n'); var sortDir = 'asc'; if (ev.shiftKey) { sortDir = 'desc'; @@ -225,7 +216,6 @@ util.list.prototype = { 'sortDir' : sortDir }); } else { // first sort - dump('click4\n'); var sortDir = ev.target.getAttribute('sortDir') || 'desc'; if (sortDir == 'desc') sortDir = 'asc'; else sortDir = 'desc'; if (ev.shiftKey) { @@ -246,14 +236,11 @@ util.list.prototype = { treecol.addEventListener( 'sort', function(ev) { - dump('sort\n'); if (!obj.first_sort) { return; } - dump('sort2\n'); function do_it() { - dump('sort3\n'); obj._sort_tree(); } -- 2.43.2