tweaks
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 22 Feb 2006 23:02:34 +0000 (23:02 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 22 Feb 2006 23:02:34 +0000 (23:02 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@3172 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/legacy/_browse.xul
Open-ILS/xul/staff_client/server/cat/copy_buckets.xul

index 78252a1..0e29db7 100644 (file)
                                        +'?session='+window.escape(g.session)
                                        +'&copy_ids='+window.escape(js2JSON(list))
                                        +'&docid='+window.escape(find_this_id)
-                                       +'&edit='+edit,
+                                       +'&edit='+edit
+                                       +'&handle_update=1',
                                title,
                                'chrome,modal,resizable'
                        );
                        var copies = JSON2js( g.data.temp );
                        g.error.sdump('D_CAT','in browse, copies =\n<<' + copies + '>>');
                        if (edit=='1' && copies!='' && typeof copies != 'undefined') {
-                               try {
-                                       var r = g.network.request(
-                                               api.FM_ACP_FLESHED_BATCH_UPDATE.app,
-                                               api.FM_ACP_FLESHED_BATCH_UPDATE.method,
-                                               [ g.session, copies ]
-                                       );
-                                       /* FIXME -- revisit the return value here */
-                               } catch(E) {
-                                       alert('copy update error: ' + js2JSON(E));
-                               }
                                refresh_browse_list();
                        }
                }
index 27ed9d0..57dc005 100644 (file)
@@ -50,7 +50,7 @@
                                );
        
                                if (typeof window.xulG == 'object' && typeof window.xulG.set_tab_name == 'function') {
-                                       try { window.xulG.set_tab_name('Copy Status'); } catch(E) { alert(E); }
+                                       try { window.xulG.set_tab_name('Copy Buckets'); } catch(E) { alert(E); }
                                }
 
                        } catch(E) {