array not object
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 17 Dec 2005 06:38:54 +0000 (06:38 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 17 Dec 2005 06:38:54 +0000 (06:38 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2433 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/bills.js

index a4bc24d..df28c53 100644 (file)
@@ -24,7 +24,7 @@ patron.bills.prototype = {
                function getString(s) { return obj.OpenILS.data.entities[s]; }
                obj.list.init(
                        {
-                               'columns' : {
+                               'columns' : [
                                                {
                                                        'id' : 'checkbox', 'label' : '', 'flex' : 0, 'primary' : false, 'hidden' : false,
                                                        'render' : 'document.createElement("checkbox")'
@@ -45,7 +45,7 @@ patron.bills.prototype = {
                                                        'id' : 'current_pay', 'label' : getString('staff.bills_current_payment_label'), 'flex' : 0, 
                                                        'render' : 'document.createElement("textbox")'
                                                }
-                               },
+                               ],
                                'map_row_to_column' : function(row,col) {
                                        // row contains { 'my' : { 'mbts' : ... } }
                                        // col contains one of the objects listed above in columns