From: phasefx Date: Thu, 20 Sep 2007 21:44:59 +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=40cc7155d3c9b7f6f2432c939c44e1bc2e777c7c;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/trunk@7817 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) {