[open-ils-commits] r17411 - branches/rel_1_6_1/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:47 EDT 2010


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

Modified:
   branches/rel_1_6_1/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_1/Open-ILS/xul/staff_client/chrome/content/main/main.js
===================================================================
--- branches/rel_1_6_1/Open-ILS/xul/staff_client/chrome/content/main/main.js	2010-08-31 17:14:33 UTC (rev 17410)
+++ branches/rel_1_6_1/Open-ILS/xul/staff_client/chrome/content/main/main.js	2010-08-31 17:14:44 UTC (rev 17411)
@@ -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