grid column picker cleanup
authorBill Erickson <berick@esilibrary.com>
Wed, 28 Mar 2012 15:33:57 +0000 (11:33 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 28 Mar 2012 15:33:57 +0000 (11:33 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js

index 0b4c2b1..0959e58 100644 (file)
@@ -193,7 +193,7 @@ if(!dojo._hasResource["openils.widget.GridColumnPicker"]) {
                 // this must be added after its parent node is inserted into the DOM.
                 var ns = new dijit.form.NumberSpinner(
                     {   constraints : {min : 0, places : 0}, 
-                        value : cell._sort,
+                        value : cell._sort || 0,
                         style : 'width:4em',
                         name : 'sort'
                     }, ipt3