From dc5aaff9568005e6104da8694f33afc135d5f7ef Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Tue, 1 Oct 2013 16:21:58 -0400 Subject: [PATCH] modify list.js --- Open-ILS/xul/staff_client/chrome/content/util/list.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Open-ILS/xul/staff_client/chrome/content/util/list.js b/Open-ILS/xul/staff_client/chrome/content/util/list.js index d4e5039b08..ba97924fc3 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/list.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/list.js @@ -1348,6 +1348,16 @@ util.list.prototype = { this.node.view.selection.selectAll(); }, + 'retrieve_selection_retrieval_data' : function(params) { + var obj = this; + return util.functional.map_list( + obj.retrieve_selection(params), + function(el,idx) { + return JSON2js( el.getAttribute('retrieve_id') ); + } + ); + }, + 'retrieve_selection' : function(params) { var obj = this; switch(this.node.nodeName) { -- 2.11.0