[open-ils-commits] r17412 - branches/rel_1_6_0/Open-ILS/xul/staff_client/chrome/content/main (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Aug 31 13:14:58 EDT 2010


Author: phasefx
Date: 2010-08-31 13:14:55 -0400 (Tue, 31 Aug 2010)
New Revision: 17412

Modified:
   branches/rel_1_6_0/Open-ILS/xul/staff_client/chrome/content/main/main.js
Log:
fixes a bug when purging offline transactions after an Export

Modified: branches/rel_1_6_0/Open-ILS/xul/staff_client/chrome/content/main/main.js
===================================================================
--- branches/rel_1_6_0/Open-ILS/xul/staff_client/chrome/content/main/main.js	2010-08-31 17:14:44 UTC (rev 17411)
+++ branches/rel_1_6_0/Open-ILS/xul/staff_client/chrome/content/main/main.js	2010-08-31 17:14:55 UTC (rev 17412)
@@ -224,6 +224,7 @@
 									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'));



More information about the open-ils-commits mailing list