fix for bug 514. Adding a 0-copy volume will refresh the tree in Holdings Maintenance
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 22 Oct 2007 05:32:14 +0000 (05:32 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 22 Oct 2007 05:32:14 +0000 (05:32 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@7902 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js

index 96af32c..53573bd 100644 (file)
@@ -413,11 +413,11 @@ g.stash_and_close = function() {
                                        g.error.standard_unexpected_error_alert('volume tree update 2',E);
                                }
 
-                               if (typeof window.refresh == 'function') window.refresh();
-
                        }
                }
 
+               if (typeof window.refresh == 'function') window.refresh();
+
                window.close();
 
        } catch(E) {