From: phasefx Date: Mon, 22 Oct 2007 05:32:14 +0000 (+0000) Subject: fix for bug 514. Adding a 0-copy volume will refresh the tree in Holdings Maintenance X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=09e92f67c55eaa8f5fef5589fa9099b23aca17ce;p=Evergreen.git fix for bug 514. Adding a 0-copy volume will refresh the tree in Holdings Maintenance git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@7902 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js index 96af32ce2d..53573bd465 100644 --- a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js +++ b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js @@ -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) {