modify list.js
authorJason Etheridge <jason@esilibrary.com>
Tue, 1 Oct 2013 20:21:58 +0000 (16:21 -0400)
committerJason Etheridge <jason@esilibrary.com>
Tue, 1 Oct 2013 21:05:44 +0000 (17:05 -0400)
Open-ILS/xul/staff_client/chrome/content/util/list.js

index d4e5039..ba97924 100644 (file)
@@ -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) {