[open-ils-commits] r17404 - trunk/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:01:33 EDT 2010
Author: phasefx
Date: 2010-08-31 13:01:30 -0400 (Tue, 31 Aug 2010)
New Revision: 17404
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/main/main.js
Log:
fixes a bug when purging offline transactions after an Export
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/main.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/main.js 2010-08-31 15:18:04 UTC (rev 17403)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/main.js 2010-08-31 17:01:30 UTC (rev 17404)
@@ -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