From: phasefx Date: Tue, 31 Aug 2010 17:14:44 +0000 (+0000) Subject: fixes a bug when purging offline transactions after an Export X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d10ea2f7cdcecb82284a93856ab28eaee554b48e;p=working%2FEvergreen.git fixes a bug when purging offline transactions after an Export git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_1@17411 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/chrome/content/main/main.js b/Open-ILS/xul/staff_client/chrome/content/main/main.js index 27ef91dedd..05eff37744 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/main.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/main.js @@ -224,6 +224,7 @@ function main_init() { throw(offlineStrings.getString('main.transaction_export.filename.error')); } } + file.close(); file = new util.file('pending_xacts'); // prevents a bug with .moveTo below file._file.moveTo(null,filename); } else { alert(offlineStrings.getString('main.transaction_export.duplicate.warning'));