From b9ea8927f886b5c13ec6a2e3b4bbdc6973861393 Mon Sep 17 00:00:00 2001 From: miker Date: Wed, 8 Aug 2007 18:10:23 +0000 Subject: [PATCH] building a better URI git-svn-id: svn://svn.open-ils.org/ILS/trunk@7637 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/record_buckets.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/cat/record_buckets.js b/Open-ILS/xul/staff_client/server/cat/record_buckets.js index 6e997107f9..70dcac8aca 100644 --- a/Open-ILS/xul/staff_client/server/cat/record_buckets.js +++ b/Open-ILS/xul/staff_client/server/cat/record_buckets.js @@ -496,9 +496,11 @@ cat.record_buckets.prototype = { 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(); -- 2.11.0