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

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Aug 8 14:13:20 EDT 2007


Author: miker
Date: 2007-08-08 14:10:23 -0400 (Wed, 08 Aug 2007)
New Revision: 7637

Modified:
   trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js
Log:
building a better URI

Modified: trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js	2007-08-08 17:50:45 UTC (rev 7636)
+++ trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js	2007-08-08 18:10:23 UTC (rev 7637)
@@ -496,9 +496,11 @@
 									function (o) { return JSON2js(o).docid }
 								);
 
+								var proto_uri = 'http://' + window.location.hostname + '/exporter';
+
 								var uri = Components.classes["@mozilla.org/network/io-service;1"]
 									.getService(Components.interfaces.nsIIOService)
-									.newURI("/export?id=" + record_ids.join('&id='), null, null);
+									.newURI( proto_uri + '?id=' + record_ids.join('&id='), null, null );
 
 								var file = pick_file();
 								



More information about the open-ils-commits mailing list