disable sorting on selector column in queue grid
authorberick <berick@esilibrary.com>
Tue, 24 May 2011 13:15:13 +0000 (09:15 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 6 Jul 2011 18:50:54 +0000 (14:50 -0400)
Open-ILS/web/js/ui/default/vandelay/vandelay.js

index de1361e..97be36b 100644 (file)
@@ -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');