diff options
| author | luccioman <luccioman@users.noreply.github.com> | 2016-11-08 03:05:51 +0100 |
|---|---|---|
| committer | luccioman <luccioman@users.noreply.github.com> | 2016-11-08 03:05:51 +0100 |
| commit | 84b81c1af0e3a5f0fc15047074601398d3ff5b0d (patch) | |
| tree | 3624634334481a173fc47ba46ba20f2aa992f4a7 /htroot/ViewFile.html | |
| parent | 731684105abfdf866a38e51b3e55a31778900759 (diff) | |
Switched more URLs to relative ones when possible.
This permits an easier and more flexible reverse proxy configuration.
Some related mantis issues : http://mantis.tokeek.de/view.php?id=106 and
http://mantis.tokeek.de/view.php?id=701
Diffstat (limited to 'htroot/ViewFile.html')
| -rw-r--r-- | htroot/ViewFile.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/htroot/ViewFile.html b/htroot/ViewFile.html index 0253aa6f8..c31d3d3ac 100644 --- a/htroot/ViewFile.html +++ b/htroot/ViewFile.html @@ -19,7 +19,7 @@ function search(query) { else if (window.ActiveXObject) { // IE
self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
}
- self.xmlHttpReq.open('GET', "/solr/select?q=sku:\"" + query + "\" OR host_s:\"" + query + "\" OR host_dnc_s:\"" + query + "\" OR host_organization_s:\"" + query + "\" OR host_organizationdnc_s:\"" + query + "\" OR host_subdomain_s:\"" + query + "\"&start=0&rows=100&wt=yjson", true);
+ self.xmlHttpReq.open('GET', "solr/select?q=sku:\"" + query + "\" OR host_s:\"" + query + "\" OR host_dnc_s:\"" + query + "\" OR host_organization_s:\"" + query + "\" OR host_organizationdnc_s:\"" + query + "\" OR host_subdomain_s:\"" + query + "\"&start=0&rows=100&wt=yjson", true);
self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
self.xmlHttpReq.onreadystatechange = function() {
if (self.xmlHttpReq.readyState == 4) {
@@ -83,7 +83,7 @@ function updatepage(str) { <dd>
<input type="text" size="60" name="url" id="url" value="#[url]#" />
<input type="submit" name="show" class="btn btn-primary" value="Show Metadata" />
- #(moar)#::<input type="button" value="Browse Host" class="btn btn-default" onClick="location.href='/HostBrowser.html?path=' + document.getElementById('url').value" />#(/moar)#
+ #(moar)#::<input type="button" value="Browse Host" class="btn btn-default" onClick="location.href='HostBrowser.html?path=' + document.getElementById('url').value" />#(/moar)#
<div id="searchresults"></div>
</dd>
#(moar)#::
|
