From a513654859fd4eeb188097355a34074406a85479 Mon Sep 17 00:00:00 2001 From: berick Date: Tue, 24 May 2011 09:15:13 -0400 Subject: [PATCH] disable sorting on selector column in queue grid --- Open-ILS/web/js/ui/default/vandelay/vandelay.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Open-ILS/web/js/ui/default/vandelay/vandelay.js b/Open-ILS/web/js/ui/default/vandelay/vandelay.js index de1361e96e..97be36bf03 100644 --- a/Open-ILS/web/js/ui/default/vandelay/vandelay.js +++ b/Open-ILS/web/js/ui/default/vandelay/vandelay.js @@ -893,6 +893,9 @@ var vlQueueGridLayout = null; function buildRecordGrid(type) { displayGlobalDiv('vl-queue-div'); + vlBibQueueGrid.canSort = function(col){ if(Math.abs(col) == 1) { return false; } else { return true; } }; + vlAuthQueueGrid.canSort = function(col){ if(Math.abs(col) == 1) { return false; } else { return true; } }; + if(type == 'bib') { openils.Util.show('vl-bib-queue-grid-wrapper'); openils.Util.hide('vl-auth-queue-grid-wrapper'); -- 2.11.0