cosmetic select all for batch actions on buckets
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 3 Aug 2006 18:24:09 +0000 (18:24 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 3 Aug 2006 18:24:09 +0000 (18:24 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5252 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/copy_buckets.js
Open-ILS/xul/staff_client/server/cat/record_buckets.js

index fba77cc..959e867 100644 (file)
@@ -306,6 +306,8 @@ cat.copy_buckets.prototype = {
                                                ['command'],
                                                function() {
                                                        try {
+
+                                                               obj.list2.select_all();
                                                        
                                                                JSAN.use('util.widgets'); JSAN.use('util.functional');
 
@@ -363,6 +365,8 @@ cat.copy_buckets.prototype = {
                                                function() {
                                                        try {
                                                        
+                                                               obj.list2.select_all();
+
                                                                JSAN.use('util.widgets'); JSAN.use('util.functional');
 
                                                                var list = util.functional.map_list(
@@ -404,6 +408,8 @@ cat.copy_buckets.prototype = {
                                                ['command'],
                                                function() {
                                                        try {
+                                                               obj.list2.select_all();
+
                                                                // FM_ACN_RETRIEVE
                                                                obj.data.stash_retrieve();
                                                                if (!obj.data.marked_volume) {
@@ -496,6 +502,7 @@ cat.copy_buckets.prototype = {
                                                ['command'],
                                                function() {
                                                        try {
+                                                               obj.list2.select_all();
                                                                JSAN.use('util.functional');
                                                                var barcodes = util.functional.map_list(
                                                                        obj.list2.dump_retrieve_ids(),
index 66bfe6f..a7eceee 100644 (file)
@@ -320,6 +320,7 @@ cat.record_buckets.prototype = {
                                                ['command'],
                                                function() {
                                                        try {
+                                                               obj.list2.select_all();
                                                                obj.data.stash_retrieve();
                                                                JSAN.use('util.functional');
 
@@ -409,6 +410,7 @@ cat.record_buckets.prototype = {
                                                ['command'],
                                                function() {
                                                        try {
+                                                               obj.list2.select_all();
                                                                JSAN.use('util.functional');
                                                                var docids = util.functional.map_list(
                                                                        obj.list2.dump_retrieve_ids(),