Changeset 23821


Ignore:
Timestamp:
03/27/11 22:34:51 (10 years ago)
Author:
davidb
Message:

Updated test.js to fix an issue with a static URL when using client-side XSLT and AJAX document fetching within documents.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/test.js

    r23786 r23821  
    379379    $.get(url, function(data) {
    380380   
    381        $.get('http://localhost:8080/greenstone3/interfaces/default/transform/document_text.xsl', function(text) {
     381       gsurl = $($(data).find("metadata[name=siteURL]")[0]).text();
     382   
     383       $.get(gsurl + '/interfaces/default/transform/document_text.xsl', function(text) {
    382384       
    383385       var output = '';
Note: See TracChangeset for help on using the changeset viewer.