[open-ils-commits] r17409 - branches/rel_2_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:28 EDT 2010


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

Modified:
   branches/rel_2_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_2_0/Open-ILS/xul/staff_client/chrome/content/main/main.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main/main.js	2010-08-31 17:07:46 UTC (rev 17408)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/chrome/content/main/main.js	2010-08-31 17:14:24 UTC (rev 17409)
@@ -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