[open-ils-commits] r9886 - trunk/Open-ILS/xul/staff_client/server/cat

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jun 19 14:58:13 EDT 2008


Author: phasefx
Date: 2008-06-19 14:58:10 -0400 (Thu, 19 Jun 2008)
New Revision: 9886

Modified:
   trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js
Log:
use POST instead of GET to prevent caching

Modified: trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js	2008-06-19 18:57:44 UTC (rev 9885)
+++ trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js	2008-06-19 18:58:10 UTC (rev 9886)
@@ -108,7 +108,7 @@
 
 		if (window.xulG.record.url) {
 			var req =  new XMLHttpRequest();
-			req.open('GET',window.xulG.record.url,false);
+			req.open('POST',window.xulG.record.url,false);
 			req.send(null);
 			window.xulG.record.marc = req.responseText.replace(xmlDeclaration, '');
 		}



More information about the open-ils-commits mailing list