[open-ils-commits] r9885 - branches/rel_1_2_2/Open-ILS/xul/staff_client/server/cat

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jun 19 14:57:47 EDT 2008


Author: phasefx
Date: 2008-06-19 14:57:44 -0400 (Thu, 19 Jun 2008)
New Revision: 9885

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

Modified: branches/rel_1_2_2/Open-ILS/xul/staff_client/server/cat/marcedit.js
===================================================================
--- branches/rel_1_2_2/Open-ILS/xul/staff_client/server/cat/marcedit.js	2008-06-19 18:57:16 UTC (rev 9884)
+++ branches/rel_1_2_2/Open-ILS/xul/staff_client/server/cat/marcedit.js	2008-06-19 18:57:44 UTC (rev 9885)
@@ -101,7 +101,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