don't refresh copy browse so much
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 6 Feb 2006 19:56:35 +0000 (19:56 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 6 Feb 2006 19:56:35 +0000 (19:56 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2985 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/legacy/_browse.xul

index e340f87..26bb501 100644 (file)
                        /* FIXME -- need to unique the temp space, and not rely on modalness of window */
                        g.data.stash_retrieve();
                        var copies = JSON2js( g.data.temp );
-                       g.error.sdump('D_CAT','in browse, g.data.temp =\n' + g.data.temp);
-                       if (edit=='1' && copies!='') {
+                       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,