Revision 4613
Added by walbridge over 15 years ago
review_behaviors.js | ||
---|---|---|
1 | 1 |
|
2 |
function get_reviews(docid) { |
|
2 |
function get_reviews(docid, metacatUrl) {
|
|
3 | 3 |
if (docid != null && docid != '') { |
4 |
new Ajax.Request("../../metacat?action=read&docid=" + docid,
|
|
4 |
new Ajax.Request( metacatUrl + "?action=read&docid=" + docid,
|
|
5 | 5 |
{asynchronous:true, evalScripts:true, method:'post', |
6 | 6 |
onLoading:function(request){Element.show('busy')}, |
7 | 7 |
onComplete: render_reviews}); |
Also available in: Unified diff
Replace usage of 'cgi-url' with 'cgi-prefix' in XSLT transformations, fix the ESA review process to accept the 'metacatUrl' parameter (#3687)