[open-ils-commits] r19912 - trunk/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Mar 29 22:21:58 EDT 2011
Author: phasefx
Date: 2011-03-29 22:21:56 -0400 (Tue, 29 Mar 2011)
New Revision: 19912
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/holds.js
Log:
add item columns to xul-based holds lists
Signed-off-by: Jason Etheridge <jason at esilibrary.com>
Modified: trunk/Open-ILS/xul/staff_client/server/patron/holds.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/holds.js 2011-03-30 01:52:44 UTC (rev 19911)
+++ trunk/Open-ILS/xul/staff_client/server/patron/holds.js 2011-03-30 02:21:56 UTC (rev 19912)
@@ -66,7 +66,13 @@
JSAN.use('util.list'); obj.list = new util.list( obj.tree_id || 'holds_list');
obj.list.init(
{
- 'columns' : columns,
+ 'columns' : columns.concat(
+ obj.list.fm_columns('acp', {
+ '*' : { 'expanded_label' : true, 'hidden' : true },
+ // example of unhiding some columns by default
+ // 'acp_circ_modifier' : { 'hidden' : false }
+ })
+ ),
'map_row_to_columns' : circ.util.std_map_row_to_columns(),
'retrieve_row' : function(params) {
var row = params.row;
More information about the open-ils-commits
mailing list