Revision 3780
Added by daigle about 16 years ago
branding_extensions.js | ||
---|---|---|
84 | 84 |
/** |
85 | 85 |
* inserts a URL to the metacat server to read a document |
86 | 86 |
*/ |
87 |
function insertDocument(docid) { |
|
87 |
function insertDocument(servletURL, docid) {
|
|
88 | 88 |
|
89 | 89 |
if (!_isBlank(docid)) { |
90 | 90 |
|
91 |
documentURL = "@servlet-path@?action=read&docid=" + docid + "&qformat=lter&insertTemplate=0";
|
|
91 |
documentURL = servletURL + "?action=read&docid=" + docid + "&qformat=lter&insertTemplate=0";
|
|
92 | 92 |
|
93 | 93 |
_createAutoscrollIFrameWithURL(documentURL, IFRAME_DOCUMENT_CLASS); |
94 | 94 |
} |
Also available in: Unified diff
Changes to remove ANT tokens for the turnkey install project