From: phasefx Date: Tue, 31 Aug 2010 17:01:30 +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=7fd01aef34bfd4fe78991e259b96b9902dddf526;p=evergreen%2Fbjwebb.git fixes a bug when purging offline transactions after an Export git-svn-id: svn://svn.open-ils.org/ILS/trunk@17404 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 455b122e6..2a42d3fb6 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'));