From 7fd01aef34bfd4fe78991e259b96b9902dddf526 Mon Sep 17 00:00:00 2001 From: phasefx Date: Tue, 31 Aug 2010 17:01:30 +0000 Subject: [PATCH] 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 --- Open-ILS/xul/staff_client/chrome/content/main/main.js | 1 + 1 file changed, 1 insertion(+) 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')); -- 2.11.0